summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/domain/libimagtodo/src/taskstore.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/domain/libimagtodo/src/taskstore.rs b/lib/domain/libimagtodo/src/taskstore.rs
index 48b6e16e..aca7890f 100644
--- a/lib/domain/libimagtodo/src/taskstore.rs
+++ b/lib/domain/libimagtodo/src/taskstore.rs
@@ -128,7 +128,6 @@ impl<'a> TaskStore<'a> for Store {
}
fn delete_tasks_by_imports<R: BufRead>(&self, r: R) -> Result<()> {
- use serde_json::ser::to_string as serde_to_string;
use task_hookrs::status::TaskStatus;
for (counter, res_ttask) in import_tasks(r).into_iter().enumerate() {
@@ -139,8 +138,7 @@ impl<'a> TaskStore<'a> for Store {
// task before the change, and the second one after
// the change. The (maybe modified) second one is
// expected by taskwarrior.
- let val = serde_to_string(&ttask).context(err_msg("Import error"))?;
-
+ //
// Taskwarrior does not have the concept of deleted tasks, but only modified
// ones.
//