Fix clippy: Derive Eq for Mention

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

View File

@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// Represents a `mention` used in a status /// Represents a `mention` used in a status
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] #[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
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,