[Auto] bin/core/todo: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
f7f95a651f
commit
e32d82f915
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ fn tw_hook(rt: &Runtime) {
|
||||||
.import_task_from_reader(stdin)
|
.import_task_from_reader(stdin)
|
||||||
.map_err_trace_exit_unwrap();
|
.map_err_trace_exit_unwrap();
|
||||||
|
|
||||||
let _ = writeln!(rt.stdout(), "{}\nTask {} stored in imag", line, uuid)
|
writeln!(rt.stdout(), "{}\nTask {} stored in imag", line, uuid)
|
||||||
.to_exit_code()
|
.to_exit_code()
|
||||||
.unwrap_or_exit();
|
.unwrap_or_exit();
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ fn list(rt: &Runtime) {
|
||||||
};
|
};
|
||||||
|
|
||||||
// and then print that
|
// and then print that
|
||||||
let _ = writeln!(rt.stdout(), "{}", outstring).to_exit_code().unwrap_or_exit();
|
writeln!(rt.stdout(), "{}", outstring).to_exit_code().unwrap_or_exit();
|
||||||
});
|
});
|
||||||
|
|
||||||
res.map_err_trace().ok();
|
res.map_err_trace().ok();
|
||||||
|
|
Loading…
Reference in a new issue