From f79c0980c78234348c1b9f7acb4012292801797c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:56:26 +0100 Subject: [PATCH] Fix clippy: Derive Eq for BoolOrString Signed-off-by: Matthias Beyer --- src/entities/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/account.rs b/src/entities/account.rs index 770d339..e0073be 100644 --- a/src/entities/account.rs +++ b/src/entities/account.rs @@ -84,7 +84,7 @@ pub struct Source { } fn string_or_bool<'de, D: Deserializer<'de>>(val: D) -> ::std::result::Result { - #[derive(Clone, Debug, Deserialize, PartialEq)] + #[derive(Clone, Debug, Deserialize, PartialEq, Eq)] #[serde(untagged)] pub enum BoolOrString { Bool(bool),