summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/annotation.rs2
-rw-r--r--src/task.rs2
2 files changed, 2 insertions, 2 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,
diff --git a/src/task.rs b/src/task.rs
index 46690ce..53e26b1 100644
--- a/src/task.rs
+++ b/src/task.rs
@@ -647,7 +647,7 @@ mod test {
use uuid::{uuid, Uuid};
fn mklogger() {
- let _ = env_logger::init();
+ env_logger::init();
log::debug!("Env-logger enabled");
}