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
|
@ -46,8 +46,8 @@ fn main() {
|
|||
fn tw_hook(rt: &Runtime) {
|
||||
let subcmd = rt.cli().subcommand_matches("tw-hook").unwrap();
|
||||
if subcmd.is_present("add") {
|
||||
let stdin = stdin();
|
||||
let mut stdin = stdin.lock();
|
||||
let stdin = stdin();
|
||||
let stdin = stdin.lock();
|
||||
|
||||
match Task::import(rt.store(), stdin) {
|
||||
Ok((_, uuid)) => info!("Task {} stored in imag", uuid),
|
||||
|
|
Loading…
Reference in a new issue