Make needless_range_loop not applicable to structures without iter method Fixes https://github.com/rust-lang/rust-clippy/issues/3788 Now we will start lint indexed structure only if it has known iter or iter_mut method implemented.
Make needless_range_loop not applicable to structures without iter method Fixes https://github.com/rust-lang/rust-clippy/issues/3788 Now we will start lint indexed structure only if it has known iter or iter_mut method implemented.