Fix some clippy warnings
This commit is contained in:
parent
e912d6db1a
commit
38e7d02f61
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ impl LineLayout {
|
|||
.filter(|(_, n)| **n == number)
|
||||
.map(|(i, _)| *i)
|
||||
.next()
|
||||
.ok_or_else(|| Error::NoSuchEntry(number))
|
||||
.ok_or(Error::NoSuchEntry(number))
|
||||
}
|
||||
|
||||
fn render_layout_entry(&mut self, files: &Files, entries: &[Entry], l_entry: &DayEntry) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue