Do not use "mut" here, we don't need it
This commit is contained in:
parent
8d89f7bf74
commit
1f50301ffa
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ fn tw_hook(rt: &Runtime) {
|
||||||
let subcmd = rt.cli().subcommand_matches("tw-hook").unwrap();
|
let subcmd = rt.cli().subcommand_matches("tw-hook").unwrap();
|
||||||
if subcmd.is_present("add") {
|
if subcmd.is_present("add") {
|
||||||
let stdin = stdin();
|
let stdin = stdin();
|
||||||
let mut stdin = stdin.lock();
|
let stdin = stdin.lock();
|
||||||
|
|
||||||
match Task::import(rt.store(), stdin) {
|
match Task::import(rt.store(), stdin) {
|
||||||
Ok((_, uuid)) => info!("Task {} stored in imag", uuid),
|
Ok((_, uuid)) => info!("Task {} stored in imag", uuid),
|
||||||
|
|
Loading…
Reference in a new issue