From 1f50301ffa41225b2f6f2d8a501eae4d8d26fed2 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 15 Jul 2016 21:27:28 +0200 Subject: [PATCH] Do not use "mut" here, we don't need it --- imag-todo/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imag-todo/src/main.rs b/imag-todo/src/main.rs index e7971080..959d9271 100644 --- a/imag-todo/src/main.rs +++ b/imag-todo/src/main.rs @@ -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),