Remove unneeded "mut"
This commit is contained in:
parent
b60b5c8981
commit
af819f0fca
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl HabitTemplate for Entry {
|
||||||
.map_err(From::from)
|
.map_err(From::from)
|
||||||
.and_then(|mut entry| {
|
.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.name", Value::String(name))?;
|
||||||
hdr.insert("habit.instance.date", Value::String(date))?;
|
hdr.insert("habit.instance.date", Value::String(date))?;
|
||||||
hdr.insert("habit.instance.comment", Value::String(comment))?;
|
hdr.insert("habit.instance.comment", Value::String(comment))?;
|
||||||
|
|
Loading…
Reference in a new issue