From 781b8a0b2ec2e3b09e9043637fa565d6ff34424b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:48:14 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Visibility Signed-off-by: Matthias Beyer --- src/status_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_builder.rs b/src/status_builder.rs index 645d7e9..f63d44c 100644 --- a/src/status_builder.rs +++ b/src/status_builder.rs @@ -241,7 +241,7 @@ pub struct NewStatus { } /// The visibility of a status. -#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq)] +#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] pub enum Visibility { /// A Direct message to a user