Fix clippy: Derive Eq for Emoji

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 18:59:08 +01:00
parent 28ae442565
commit a7165cd695
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ pub struct Mention {
} }
/// Struct representing an emoji within text. /// Struct representing an emoji within text.
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct Emoji { pub struct Emoji {
/// The shortcode of the emoji /// The shortcode of the emoji
pub shortcode: String, pub shortcode: String,