From 92368287628dc69e3b3d80bd0f108e913f51531c Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Wed, 12 Apr 2023 17:38:54 -0700 Subject: fix: address two clippy issues - Default can be derived on Visibility - useless conversion to the same type on scopes --- entities/src/visibility.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/src/visibility.rs b/entities/src/visibility.rs index 94f0a35..43d0afe 100644 --- a/entities/src/visibility.rs +++ b/entities/src/visibility.rs @@ -3,7 +3,7 @@ use serde::Deserialize; use serde::Serialize; /// The visibility of a status. -#[derive(Clone, Copy, Debug, Deserialize, Serialize, PartialEq, Eq, is_enum_variant, Default)] +#[derive(Clone, Copy, Debug, Default, Deserialize, Serialize, PartialEq, Eq, is_enum_variant)] #[serde(rename_all = "lowercase")] pub enum Visibility { /// A Direct message to a user -- cgit v1.2.3