rust/clippy_lints
bors 28a39e9741 Auto merge of #4165 - BO41:needless_range_loop, r=phansch
Add example to needless_range_loop

adds a "could be written as" example

btw, is it correct that the lint triggers even if the index is used not just for getting the values by index?
So that I have to add `.iter().enumerate()` to still get an index?

changelog: none
2019-06-03 08:28:15 +00:00
..
src Auto merge of #4165 - BO41:needless_range_loop, r=phansch 2019-06-03 08:28:15 +00:00
Cargo.toml Bump cargo_metadata of clippy_lints 2019-06-03 09:13:33 +07:00
README.md rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.