diff options
author | flip1995 <hello@philkrones.com> | 2019-08-27 10:44:15 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-08-28 18:18:40 +0200 |
commit | e32d82f91593ad42713bee6eacad49784224933e (patch) | |
tree | e3f2676b5c52c7c72536d31aefdedb961971d787 | |
parent | f7f95a651f74f01beb393b4352ba6507e0f26241 (diff) |
[Auto] bin/core/todo: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | bin/domain/imag-todo/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/domain/imag-todo/src/main.rs b/bin/domain/imag-todo/src/main.rs index 3a2eb55b..36537ea9 100644 --- a/bin/domain/imag-todo/src/main.rs +++ b/bin/domain/imag-todo/src/main.rs @@ -97,7 +97,7 @@ fn tw_hook(rt: &Runtime) { .import_task_from_reader(stdin) .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() .unwrap_or_exit(); @@ -174,7 +174,7 @@ fn list(rt: &Runtime) { }; // 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(); |