diff --git a/imag-todo/src/main.rs b/imag-todo/src/main.rs index e7971080..959d9271 100644 --- a/imag-todo/src/main.rs +++ b/imag-todo/src/main.rs @@ -46,8 +46,8 @@ fn main() { fn tw_hook(rt: &Runtime) { let subcmd = rt.cli().subcommand_matches("tw-hook").unwrap(); if subcmd.is_present("add") { - let stdin = stdin(); - let mut stdin = stdin.lock(); + let stdin = stdin(); + let stdin = stdin.lock(); match Task::import(rt.store(), stdin) { Ok((_, uuid)) => info!("Task {} stored in imag", uuid),