Fix clippy: Derive Eq for Emoji
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
28ae442565
commit
a7165cd695
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue