Remove keyword: mut

This commit is contained in:
Matthias Beyer 2016-07-31 10:38:30 +02:00
parent 5cc84c1551
commit c1d41c954e

View file

@ -50,7 +50,7 @@ pub fn create(rt: &Runtime) {
Some("m") | Some("minutely") => { Some("m") | Some("minutely") => {
debug!("Creating minutely-timed entry"); 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 let hr = create
.value_of("hour") .value_of("hour")
.map(|h| { debug!("hour = {:?}", h); h }) .map(|h| { debug!("hour = {:?}", h); h })