diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2022-06-01 10:51:57 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-06-01 10:58:18 +0200 |
commit | 1cd9e3f2dfb1acb6869cf2851ee4a10f6c2cfa2a (patch) | |
tree | 81de7aaa995b6914c15eba7747e9eb7b480ee53e | |
parent | 4793de61f7f1beb22aa06007775be8db0eb89f34 (diff) |
Fix clippy: Derive Eq as well
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | tests/get.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/get.rs b/tests/get.rs index fe66d34..fc53207 100644 --- a/tests/get.rs +++ b/tests/get.rs @@ -211,7 +211,7 @@ fn test_struct_array() { #[test] fn test_enum() { - #[derive(Debug, Deserialize, PartialEq)] + #[derive(Debug, Deserialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] enum Diode { Off, @@ -268,7 +268,7 @@ fn test_enum_key() { #[test] fn test_int_key() { - #[derive(Debug, Deserialize, PartialEq)] + #[derive(Debug, Deserialize, PartialEq, Eq)] struct Settings { divisors: Map<u32, u32>, } |