Skip to content

cleanup: remove an unnecessary borrow reported by Clippy 1.66 #908

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

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

martinvonz
Copy link
Member

Interestingly, the nightly release doesn't complain about this.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have added tests to cover my changes

@martinvonz martinvonz enabled auto-merge (rebase) December 15, 2022 20:10
Interestingly, the nightly release doesn't complain about this. One
instance in `test_working_copy.rs` is a bug in Clippy.
@martinvonz martinvonz force-pushed the push-fa5402998dfa4fbda1e5ca96fa633cfc branch from c4d3cd6 to 611b777 Compare December 15, 2022 20:26
@martinvonz
Copy link
Member Author

There were two more valid reports of the lint. I had to silence an invalid fourth one because of rust-lang/rust-clippy#9778

@martinvonz martinvonz merged commit fb396e6 into main Dec 15, 2022
@martinvonz martinvonz deleted the push-fa5402998dfa4fbda1e5ca96fa633cfc branch December 15, 2022 20:38
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