From fcb8dc9e07a8f424f2a745450d056f7a00f345f7 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:03:55 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Keys Signed-off-by: Matthias Beyer --- src/entities/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/push.rs b/src/entities/push.rs index fea5f12..cec6186 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -43,7 +43,7 @@ pub(crate) mod add_subscription { pub(crate) keys: Keys, } - #[derive(Debug, Clone, PartialEq, Serialize, Default)] + #[derive(Debug, Clone, PartialEq, Eq, Serialize, Default)] pub(crate) struct Keys { pub(crate) p256dh: String, pub(crate) auth: String,