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.name",
|
||||||
"habit.template.basedate",
|
"habit.template.basedate",
|
||||||
"habit.template.comment",
|
"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()
|
self.get_header()
|
||||||
.read(path)
|
.read(path)
|
||||||
.map(|o| is_match!(o, Some(&Value::String(_))))
|
.map(|o| is_match!(o, Some(&Value::String(_))))
|
||||||
|
|
|
@ -52,7 +52,7 @@ impl HabitInstance for Entry {
|
||||||
"habit.instance.name",
|
"habit.instance.name",
|
||||||
"habit.instance.date",
|
"habit.instance.date",
|
||||||
"habit.instance.comment",
|
"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()
|
self.get_header()
|
||||||
.read(path)
|
.read(path)
|
||||||
.map(|o| is_match!(o, Some(&Value::String(_))))
|
.map(|o| is_match!(o, Some(&Value::String(_))))
|
||||||
|
|
Loading…
Reference in a new issue