mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
28a39e9741
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |