From bc144c5a65164acae3b7c2a6c0d425bfd2d5146f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:56:18 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Source 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 e56b3b0..770d339 100644 --- a/src/entities/account.rs +++ b/src/entities/account.rs @@ -74,7 +74,7 @@ impl MetadataField { } /// An extra object given from `verify_credentials` giving defaults about a user -#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] +#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] pub struct Source { privacy: Option, #[serde(deserialize_with = "string_or_bool")]