From 998c477818a46b98b851ae74d97dd39b2081fd24 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:01:06 +0100 Subject: [PATCH] Fix clippy: Derive Eq for NotificationType Signed-off-by: Matthias Beyer --- src/entities/notification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/notification.rs b/src/entities/notification.rs index a9ad95a..3af9f50 100644 --- a/src/entities/notification.rs +++ b/src/entities/notification.rs @@ -21,7 +21,7 @@ pub struct Notification { } /// The type of notification. -#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq)] +#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] pub enum NotificationType { /// Someone mentioned the application client in another status.