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

manual_try_fold: check that fold is really Iterator::fold #11879

Merged
merged 1 commit into from Nov 27, 2023

Conversation

samueltardieu
Copy link
Contributor

Fix #11876

changelog: [manual_try_fold]: suggest using try_fold only for Iterator::fold uses

@rustbot
Copy link
Collaborator

rustbot commented Nov 26, 2023

r? @Alexendoo

(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 Nov 26, 2023
@Alexendoo
Copy link
Member

Great, thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 27, 2023

📌 Commit 0d09cb0 has been approved by Alexendoo

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Nov 27, 2023

⌛ Testing commit 0d09cb0 with merge caa7394...

@bors
Copy link
Collaborator

bors commented Nov 27, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Alexendoo
Pushing caa7394 to master...

@bors bors merged commit caa7394 into rust-lang:master Nov 27, 2023
5 checks passed
@samueltardieu samueltardieu deleted the issue-11876 branch November 29, 2023 22:41
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.

try_fold suggested on a type that is not an iterator and does not have a try_fold method
4 participants