Remove unneeded "mut"

This commit is contained in:
Matthias Beyer 2018-01-04 19:34:21 +01:00
parent b60b5c8981
commit af819f0fca
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ impl HabitTemplate for Entry {
.map_err(From::from)
.and_then(|mut entry| {
{
let mut hdr = entry.get_header_mut();
let hdr = entry.get_header_mut();
hdr.insert("habit.instance.name", Value::String(name))?;
hdr.insert("habit.instance.date", Value::String(date))?;
hdr.insert("habit.instance.comment", Value::String(comment))?;