Fix: Tag type is not able to derive Eq

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:01:54 +01:00
parent adac287450
commit b97dc8ca3e
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ pub struct Emoji {
/// as a [`Tag`](https://docs.joinmastodon.org/entities/Tag/). In the case of /// 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 former, at the time of writing, the history field is always empty and
/// the following field is always none. /// the following field is always none.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct Tag { pub struct Tag {
/// The hashtag, not including the preceding `#`. /// The hashtag, not including the preceding `#`.