From c1d41c954e0b03ae4795992ddff38f3458d3f938 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 31 Jul 2016 10:38:30 +0200 Subject: [PATCH] Remove keyword: mut --- imag-diary/src/create.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imag-diary/src/create.rs b/imag-diary/src/create.rs index c7f744a4..5777ef6a 100644 --- a/imag-diary/src/create.rs +++ b/imag-diary/src/create.rs @@ -50,7 +50,7 @@ pub fn create(rt: &Runtime) { Some("m") | Some("minutely") => { debug!("Creating minutely-timed entry"); - let mut time = DiaryId::now(String::from(diary.name())); + let time = DiaryId::now(String::from(diary.name())); let hr = create .value_of("hour") .map(|h| { debug!("hour = {:?}", h); h })