mirror of
https://github.com/instant-labs/instant-xml.git
synced 2025-02-16 06:52:15 +00:00
chore: remove redundant Eq
derives in forward-enum tests
This commit is contained in:
parent
a575fc627a
commit
1bae618b51
@ -4,19 +4,19 @@ use similar_asserts::assert_eq;
|
|||||||
|
|
||||||
use instant_xml::{from_str, to_string, FromXml, ToXml};
|
use instant_xml::{from_str, to_string, FromXml, ToXml};
|
||||||
|
|
||||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||||
#[xml(forward)]
|
#[xml(forward)]
|
||||||
enum Foo {
|
enum Foo {
|
||||||
Bar(Bar),
|
Bar(Bar),
|
||||||
Baz(Baz),
|
Baz(Baz),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||||
struct Bar {
|
struct Bar {
|
||||||
bar: u8,
|
bar: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||||
struct Baz {
|
struct Baz {
|
||||||
baz: String,
|
baz: String,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user