-
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
redundant_closure_for_method_calls fixes #4191
Conversation
fixes #3942 |
What's the reasoning behind the mutability change? Could you rebase this onto master and squash some commits? $ git fetch upstream # upstream is this repo
$ git rebase -i upstream/master |
@flip1995 |
01b6833
to
3a92723
Compare
Ah, thanks for the insight. LGTM. Can you squash the commit 3a92723? That seems kind of pointless. |
3a92723
to
25631ce
Compare
Can you remove the file |
lint does not trigger when there is a difference in mutability lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref)
25631ce
to
d4ad23b
Compare
Done. I missed it too. |
Thanks! @bors r+ |
📌 Commit d4ad23b has been approved by |
redundant_closure_for_method_calls fixes lint does not trigger when there is a difference in mutability lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref) <!-- Thank you for making Clippy better! We're collecting our changelog from pull request descriptions. If your PR only updates to the latest nightly, you can leave the `changelog` entry as `none`. Otherwise, please write a short comment explaining your change. If your PR fixes an issue, you can add "fixes #issue_number" into this PR description. This way the issue will be automatically closed when your PR is merged. If you added a new lint, here's a checklist for things that will be checked during review or continuous integration. - [ ] Followed [lint naming conventions][lint_naming] - [ ] Added passing UI tests (including committed `.stderr` file) - [ ] `cargo test` passes locally - [ ] Executed `util/dev update_lints` - [ ] Added lint documentation - [ ] Run `cargo fmt` Note that you can skip the above if you are just opening a WIP PR in order to get feedback. Delete this line and everything above before opening your PR --> changelog: none
☀️ Test successful - checks-travis, status-appveyor |
lint does not trigger when there is a difference in mutability
lint does not trigger when the method belongs to a trait which is not implemebted directly (Deref)
changelog: none