Fix clippy: Derive Eq for Mention

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

View File

@ -65,7 +65,7 @@ pub struct Status {
} }
/// A mention of another user. /// A mention of another user.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct Mention { pub struct Mention {
/// URL of user's profile (can be remote). /// URL of user's profile (can be remote).
pub url: String, pub url: String,