summaryrefslogtreecommitdiffstats
path: root/src/annotation.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-18 11:07:28 +0000
committerGitHub <noreply@github.com>2022-12-18 11:07:28 +0000
commitfe836ce049352315a983fffded9bc7f15040af1b (patch)
tree9a8971a31eba958bfd414aa3c6ce1068912e6c0e /src/annotation.rs
parent502321914005b101fa8bae7e979453876bc9c64b (diff)
parentc45f532753d58725762ca4b4d3be82414675e48f (diff)
Merge #21
21: Cleanup r=matthiasbeyer a=matthiasbeyer Some misc code cleanup. Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/annotation.rs')
-rw-r--r--src/annotation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/annotation.rs b/src/annotation.rs
index a4e5b76..6f5a4e0 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, Serialize, Deserialize, PartialEq)]
+#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, PartialEq)]
pub struct Annotation {
entry: Date,
description: String,