Skip to content

Conversation

SimonSapin
Copy link
Contributor

No description provided.

bors added a commit that referenced this pull request Sep 24, 2013
@bors bors closed this Sep 24, 2013
@SimonSapin SimonSapin deleted the patch-3 branch June 4, 2014 23:23
djkoloski pushed a commit to djkoloski/rust that referenced this pull request Sep 21, 2022
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 rust-lang#9456
Fixes rust-lang#9462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants