From e3539a46ba22028cffc1b09e6a5e62535a6f612f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:04:40 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Mention Signed-off-by: Matthias Beyer --- src/entities/mention.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/mention.rs b/src/entities/mention.rs index 442ed25..88b109a 100644 --- a/src/entities/mention.rs +++ b/src/entities/mention.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; /// Represents a `mention` used in a status -#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] +#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)] pub struct Mention { /// URL of user's profile (can be remote) pub url: String,