Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore into_iter_without_iter pedantic clippy lint
warning: `IntoIterator` implemented for a reference type without an `iter` method --> src/error.rs:435:1 | 435 | / impl<'a> IntoIterator for &'a Error { 436 | | type Item = Error; 437 | | type IntoIter = Iter<'a>; 438 | | ... | 443 | | } 444 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_without_iter = note: `-W clippy::into-iter-without-iter` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::into_iter_without_iter)]` help: consider implementing `iter` | 435 + 436 + impl Error { 437 + fn iter(&self) -> Iter<'a> { 438 + <&Self as IntoIterator>::into_iter(self) 439 + } 440 + } |
- Loading branch information