summaryrefslogtreecommitdiffstats
path: root/imag-todo
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-06 19:56:41 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-21 17:14:11 +0200
commitb2eb2de3fd6607e89fbef7bfc646de2cda39b422 (patch)
tree85ae4a871b310b7253ee112969bda5ce9e20cf7b /imag-todo
parentb78da80717dc481d7895019ca686a7b969207c80 (diff)
We do not need to String::push() here twice
Diffstat (limited to 'imag-todo')
-rw-r--r--imag-todo/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/imag-todo/src/main.rs b/imag-todo/src/main.rs
index d02755e1..092a15e0 100644
--- a/imag-todo/src/main.rs
+++ b/imag-todo/src/main.rs
@@ -163,8 +163,7 @@ fn list(rt: &Runtime) {
if verbose {
args.clear();
- args.push(format!("uuid:{}", uuid));
- args.push(format!("{}", "information"));
+ args.push(format!("uuid:{} information", uuid));
let tw_process = Command::new("task").stdin(Stdio::null()).args(&args).spawn()
.unwrap_or_else(|e| {
trace_error(&e);