Skip to content

Remove unnecessary return #8480

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

Closed
wants to merge 1 commit into from
Closed

Remove unnecessary return #8480

wants to merge 1 commit into from

Conversation

emberian
Copy link
Member

No description provided.

@emberian
Copy link
Member Author

rollup candidate

bors added a commit that referenced this pull request Aug 15, 2013
@bors bors closed this Aug 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 5, 2022
…r=xFrednet

wrong_self_convention allows `is_*` to take `&mut self`

fix rust-lang#8480 and rust-lang#8513
Allowing `is_*` to take `&self` or none is too restrictive.

changelog: FPs: [`wrong_self_convention`] now allows `&mut self` and no self as arguments for `is_*` methods
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.

2 participants