summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-06-30 09:28:31 +0200
committerMatthias Beyer <mail@beyermatthias.de>2023-06-30 09:28:31 +0200
commit3d35c54bbfb8d83ee012b77948e6520a605e8281 (patch)
treee681d4da71871550cfe890e56a0214f6eedf8039
parent8926a45d0efb4f3cf62361a9d5a91a35caaf9cf0 (diff)
Fix clippy: Derive Eq as well if deriving PartialEq
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/annotation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/annotation.rs b/src/annotation.rs
index 6f5a4e0..c1498fa 100644
--- a/src/annotation.rs
+++ b/src/annotation.rs
@@ -11,7 +11,7 @@ use crate::date::Date;
/// Annotation type for task annotations.
/// Each annotation in taskwarrior consists of a date and a description,
/// the date is named "entry", the description "description" in the JSON export.
-#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, PartialEq)]
+#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, Eq, PartialEq)]
pub struct Annotation {
entry: Date,
description: String,