rust/clippy_lints
bors 9c9aa92898 Auto merge of #9465 - Alexendoo:peekable-fp, r=flip1995
Fix `unused_peekable` closure and `f(&mut peekable)` false positives

changelog: Fix [`unused_peekable`] false positive when peeked in a closure or called as `f(&mut peekable)`

The `return`/`break` changes aren't part of the fix, they allow an earlier return in some cases. `break` is replaced with `return` for style purposes as they do the same thing in this case

Fixes #9456
Fixes #9462
2022-09-14 15:03:39 +00:00
..
src Auto merge of #9465 - Alexendoo:peekable-fp, r=flip1995 2022-09-14 15:03:39 +00:00
Cargo.toml
README.md

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