We do not need to String::push() here twice

This commit is contained in:
Matthias Beyer 2016-07-06 19:56:41 +02:00
parent b78da80717
commit b2eb2de3fd

View file

@ -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);