-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
suggest &mut
for redundant FnMut closures
#7437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is sufficient to fix all cases. I made some suggestion on how to improve this check.
a57d464
to
ccc1da4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more note.
ccc1da4
to
6b66719
Compare
Thanks for the review! I think this should be better now. Sorry, I'm not sure how to change the label back to |
No problem, it's @rustbot label -S-waiting-on-author +S-waiting-on-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 small things left. Those should really be the last before we can merge this.
6b66719
to
4c398e0
Compare
@bors r+ Thanks! |
📌 Commit 4c398e0 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fixes #6903
changelog: suggest
&mut
for redundant FnMut closures