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/matrix.rs:83:1 | 83 | / impl<'a> IntoIterator for &'a Row { 84 | | type Item = u32; 85 | | type IntoIter = Copied<slice::Iter<'a, u32>>; 86 | | ... | 89 | | } 90 | | } | |_^ | = 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` | 83 + 84 + impl Row { 85 + fn iter(&self) -> Copied<slice::Iter<'a, u32>> { 86 + <&Self as IntoIterator>::into_iter(self) 87 + } 88 + } |
- Loading branch information