Remove keyword: mut

This commit is contained in:
Matthias Beyer 2016-07-31 10:38:21 +02:00
parent 5cd2964fe3
commit 5cc84c1551
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ pub fn create(rt: &Runtime) {
let id = match create.value_of("timed") {
Some("h") | Some("hourly") => {
debug!("Creating hourly-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(|v| { debug!("Creating hourly entry with hour = {:?}", v); v })