From 31ad0beec105b9394d2a777990c9d1f0d1890ac9 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:03:43 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Subscription 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 da6a0c2..fea5f12 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -37,7 +37,7 @@ pub(crate) mod add_subscription { pub(crate) data: Option, } - #[derive(Debug, Clone, PartialEq, Serialize, Default)] + #[derive(Debug, Clone, PartialEq, Eq, Serialize, Default)] pub(crate) struct Subscription { pub(crate) endpoint: String, pub(crate) keys: Keys,