From e53ef65d6dacb08bb976928b2b66adcb215497d6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:52:43 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Empty Signed-off-by: Matthias Beyer --- src/entities/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/mod.rs b/src/entities/mod.rs index f726abc..37ff8b3 100644 --- a/src/entities/mod.rs +++ b/src/entities/mod.rs @@ -33,7 +33,7 @@ pub mod search_result; pub mod status; /// An empty JSON object. -#[derive(Deserialize, Serialize, Debug, Copy, Clone, PartialEq)] +#[derive(Deserialize, Serialize, Debug, Copy, Clone, PartialEq, Eq)] pub struct Empty {} /// The purpose of this module is to alleviate imports of many common