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

wrong_self_convention allows is_* to take &mut self #8738

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

tamaroning
Copy link
Contributor

@tamaroning tamaroning commented Apr 23, 2022

fix #8480 and #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

@rust-highfive
Copy link

r? @xFrednet

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 23, 2022
@tamaroning tamaroning marked this pull request as ready for review April 23, 2022 14:04
@xFrednet
Copy link
Member

LGTM, thank you for the fix! 👍

For future reference, this is something worthy of a changelog entry. I've edited the description to r+ it now. If you're unsure what belongs into the changelog you're always welcome to ask. Otherwise, it's usually better to include too much information than to little 🙃

@bors r+

@bors
Copy link
Contributor

bors commented Apr 24, 2022

📌 Commit 51db157 has been approved by xFrednet

@bors
Copy link
Contributor

bors commented Apr 24, 2022

⌛ Testing commit 51db157 with merge 6aa3684...

@bors
Copy link
Contributor

bors commented Apr 24, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 6aa3684 to master...

@bors bors merged commit 6aa3684 into rust-lang:master Apr 24, 2022
@tamaroning
Copy link
Contributor Author

@xFrednet
Thanks for your instruction😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong self-convention lint wrongly emitted for is_foo() functions on builders
4 participants