From a7165cd6958edb9d2090b795ad1c4fe5437f6823 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:59:08 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Emoji Signed-off-by: Matthias Beyer --- src/entities/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/status.rs b/src/entities/status.rs index 11f519f..b829e47 100644 --- a/src/entities/status.rs +++ b/src/entities/status.rs @@ -78,7 +78,7 @@ pub struct Mention { } /// Struct representing an emoji within text. -#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] +#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)] pub struct Emoji { /// The shortcode of the emoji pub shortcode: String,