rust/clippy_utils
Jason Newcomb daca50a515
Improvements to while_let_on_iterator
* Suggest `&mut iter` when the iterator is used after the loop.
* Suggest `&mut iter` when the iterator is a field in a struct.
* Don't lint when the iterator is a field in a struct, and the struct is
used in the loop.
* Lint when the loop is nested in another loop, but suggest `&mut iter`
unless the iterator is from a local declared inside the loop.
2021-05-12 21:49:22 -04:00
..
src Improvements to while_let_on_iterator 2021-05-12 21:49:22 -04:00
Cargo.toml Bump Clippy version -> 0.1.54 2021-05-06 11:32:34 +02:00