]> git.lizzy.rs Git - rust.git/commit
Fix `while_let_on_iterator`
authorJason Newcomb <jsnewcomb@pm.me>
Sat, 31 Jul 2021 02:59:20 +0000 (22:59 -0400)
committerJason Newcomb <jsnewcomb@pm.me>
Sat, 31 Jul 2021 04:11:46 +0000 (00:11 -0400)
commitfe75faa6eeafe22eb5e6ffae652c7514792334ab
tree6caa157420ca6e15e6a06726aeb91fc46c510dcd
parentf6a5889ffad5f819b80f07b40988ba2576f79296
Fix `while_let_on_iterator`
Reborrow mutable references rather then take a reference to them.
clippy_lints/src/loops/while_let_on_iterator.rs
tests/ui/while_let_on_iterator.fixed
tests/ui/while_let_on_iterator.rs
tests/ui/while_let_on_iterator.stderr