rust/clippy_lints
bors 1bb3b12dfb Auto merge of #7132 - rust-lang:single_element_loop_iter, r=Manishearth
extend `single_element_loop` to match `.iter()`

This extends `single_element_loop` to also match `[..].iter()` in the loop argument. Related to #7125, but not completely fixing it due to the lint only firing if the array expression contains a local variable.

---

changelog: none
2021-04-26 14:28:31 +00:00
..
src Auto merge of #7132 - rust-lang:single_element_loop_iter, r=Manishearth 2021-04-26 14:28:31 +00:00
Cargo.toml Merge commit '0e87918536' into clippyup 2021-03-25 19:29:11 +01:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

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