Fix clippy: Derive Eq for Visibility

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

View File

@ -241,7 +241,7 @@ pub struct NewStatus {
} }
/// The visibility of a status. /// The visibility of a status.
#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq)] #[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "lowercase")] #[serde(rename_all = "lowercase")]
pub enum Visibility { pub enum Visibility {
/// A Direct message to a user /// A Direct message to a user