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