chore: remove redundant `Eq` derives in forward-enum tests

This commit is contained in:
gibbz00 2024-10-22 22:45:58 +02:00 committed by Dirkjan Ochtman
parent a575fc627a
commit 1bae618b51
1 changed files with 3 additions and 3 deletions

View File

@ -4,19 +4,19 @@ use similar_asserts::assert_eq;
use instant_xml::{from_str, to_string, FromXml, ToXml};
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
#[derive(Debug, FromXml, PartialEq, ToXml)]
#[xml(forward)]
enum Foo {
Bar(Bar),
Baz(Baz),
}
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
#[derive(Debug, FromXml, PartialEq, ToXml)]
struct Bar {
bar: u8,
}
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
#[derive(Debug, FromXml, PartialEq, ToXml)]
struct Baz {
baz: String,
}