Correct parentheses for [`needless_borrow`] suggestion by mira-eanda · Pull Requ...
source link: https://github.com/rust-lang/rust-clippy/pull/12630
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Contributor
This fixes #12268
Clippy no longer adds unnecessary parentheses in suggestions when the expression is part of a tuple.
changelog: Fix [needless_borrow
] unnecessary parentheses in suggestion.
Collaborator
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Manishearth (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK