From b97dc8ca3e9c1664b647a7c4b31ddbefa9acb440 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:01:54 +0100 Subject: [PATCH] Fix: Tag type is not able to derive Eq Signed-off-by: Matthias Beyer --- src/entities/status.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entities/status.rs b/src/entities/status.rs index ce2b4bc..0a7c94c 100644 --- a/src/entities/status.rs +++ b/src/entities/status.rs @@ -93,6 +93,7 @@ pub struct Emoji { /// as a [`Tag`](https://docs.joinmastodon.org/entities/Tag/). In the case of /// the former, at the time of writing, the history field is always empty and /// the following field is always none. +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Tag { /// The hashtag, not including the preceding `#`.