From 28ae4425650568232fa5fa65018e67d13f7e09da Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:59:01 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Mention 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 44c9bd3..11f519f 100644 --- a/src/entities/status.rs +++ b/src/entities/status.rs @@ -65,7 +65,7 @@ pub struct Status { } /// A mention of another user. -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct Mention { /// URL of user's profile (can be remote). pub url: String,