Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not imply that str is sometimes null-terminated. #9462

Closed
wants to merge 1 commit into from

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