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