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

suggest passing function instead of calling it in closure for [option_if_let_else] #11460

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

J-ZhengLi
Copy link
Member

fixes: #11429

changelog: suggest passing function instead of calling it in closure for [option_if_let_else]

@rustbot
Copy link
Collaborator

rustbot commented Sep 4, 2023

r? @Centri3

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 4, 2023
Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
Copy link
Member

@Centri3 Centri3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than @samueltardieu's suggestion and a typo. Thanks!

Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
Co-authored-by: Catherine Flores <catherine.3.flores@gmail.com>
@J-ZhengLi
Copy link
Member Author

@Centri3 Perhaps this was forgotten?

@Centri3
Copy link
Member

Centri3 commented Oct 23, 2023

Haven't had the time. This version still looks good to me so @bors r+

@bors
Copy link
Contributor

bors commented Oct 23, 2023

📌 Commit fb4f603 has been approved by Centri3

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 23, 2023

⌛ Testing commit fb4f603 with merge 9f5de66...

@bors
Copy link
Contributor

bors commented Oct 23, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Centri3
Pushing 9f5de66 to master...

@bors bors merged commit 9f5de66 into rust-lang:master Oct 23, 2023
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.

option_if_let_else suggestion causes redundant_closure warning
5 participants