rust/clippy_lints
bors 07217e3370 Auto merge of #7262 - Jarcho:while_let_on_iter_closure, r=xFrednet,flip1995
fix `while_let_on_iterator` suggestion in a closure

fixes: #7249

A future improvement would be to check if the closure is being used as `FnOnce`, in which case the original suggestion would be correct.

changelog: Suggest `&mut iter` inside a closure for `while_let_on_iterator`
2021-06-08 15:52:40 +00:00
..
src Auto merge of #7262 - Jarcho:while_let_on_iter_closure, r=xFrednet,flip1995 2021-06-08 15:52:40 +00:00
Cargo.toml Deny warning in every main sub-crate 2021-05-18 11:05:48 +02:00
README.md

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