Remove unused variables
This commit is contained in:
parent
90ed0c0e10
commit
9bf4b9604b
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ impl HabitTemplate for Entry {
|
|||
"habit.template.name",
|
||||
"habit.template.basedate",
|
||||
"habit.template.comment",
|
||||
].iter().fold(Ok(true), |acc, path| acc.and_then(|b| {
|
||||
].iter().fold(Ok(true), |acc, path| acc.and_then(|_| {
|
||||
self.get_header()
|
||||
.read(path)
|
||||
.map(|o| is_match!(o, Some(&Value::String(_))))
|
||||
|
|
|
@ -52,7 +52,7 @@ impl HabitInstance for Entry {
|
|||
"habit.instance.name",
|
||||
"habit.instance.date",
|
||||
"habit.instance.comment",
|
||||
].iter().fold(Ok(true), |acc, path| acc.and_then(|b| {
|
||||
].iter().fold(Ok(true), |acc, path| acc.and_then(|_| {
|
||||
self.get_header()
|
||||
.read(path)
|
||||
.map(|o| is_match!(o, Some(&Value::String(_))))
|
||||
|
|
Loading…
Reference in a new issue