Commit 4d71a84
committed
Ignore double_ended_iterator_last clippy lint
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/error.rs:482:22
|
482 | self.chain().last().unwrap()
| ^^^^^^ help: try: `next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
= note: `-W clippy::double-ended-iterator-last` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::double_ended_iterator_last)]`1 parent af0937e commit 4d71a84
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| |||
0 commit comments