Remove keyword: mut
This commit is contained in:
parent
5cd2964fe3
commit
5cc84c1551
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub fn create(rt: &Runtime) {
|
||||||
let id = match create.value_of("timed") {
|
let id = match create.value_of("timed") {
|
||||||
Some("h") | Some("hourly") => {
|
Some("h") | Some("hourly") => {
|
||||||
debug!("Creating hourly-timed entry");
|
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
|
let hr = create
|
||||||
.value_of("hour")
|
.value_of("hour")
|
||||||
.map(|v| { debug!("Creating hourly entry with hour = {:?}", v); v })
|
.map(|v| { debug!("Creating hourly entry with hour = {:?}", v); v })
|
||||||
|
|
Loading…
Reference in a new issue