From afe132ae5b258222658d5160a5ca60f5cf5f39f6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:59:18 +0100 Subject: [PATCH] Fix clippy: Derive Eq for TagHistory Signed-off-by: Matthias Beyer --- src/entities/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/status.rs b/src/entities/status.rs index a793b76..ce2b4bc 100644 --- a/src/entities/status.rs +++ b/src/entities/status.rs @@ -116,7 +116,7 @@ pub struct Application { } /// Usage statistics for given days (typically the past week). -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct TagHistory { /// UNIX timestamp on midnight of the given day. pub day: String,