]> git.lizzy.rs Git - rust.git/commit
Change the suggestion for `while_let_on_iterator` when the iterator cannot be consume...
authorJason Newcomb <jsnewcomb@pm.me>
Sat, 18 Sep 2021 01:44:21 +0000 (21:44 -0400)
committerJason Newcomb <jsnewcomb@pm.me>
Sat, 18 Sep 2021 01:44:21 +0000 (21:44 -0400)
commitee6a6b55c4281d2bdd78bc48eb507db7aa525cf7
treea5b7cadd34f52ccb1c49ccf362bcf165da093c6c
parent2316f4da83a3952abca808f1f1b2c7ea0a9ee401
Change the suggestion for `while_let_on_iterator` when the iterator cannot be consumed to `iter.by_ref()`
clippy_lints/src/loops/while_let_on_iterator.rs
tests/ui/while_let_on_iterator.fixed
tests/ui/while_let_on_iterator.stderr