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

Flip arguments to std::iter::iterate. #17080

Merged
merged 1 commit into from
Sep 9, 2014
Merged

Flip arguments to std::iter::iterate. #17080

merged 1 commit into from
Sep 9, 2014

Conversation

treeman
Copy link
Contributor

@treeman treeman commented Sep 7, 2014

Breaks iterate(f, seed), use iterate(seed, f) instead.
The convention is to have the closure last.

Closes #17066.

[breaking-change]

Breaks `iterate(f, seed)`, use `iterate(seed, f)` instead.
The convention is to have the closure last.

Closes #17066.

[breaking-change]
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014
@bors bors merged commit 248319a into rust-lang:master Sep 9, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request May 19, 2024
…_rpit, r=Veykril

Fix: Lifetime's Bound Var Debrujin Index in Dyn Traits

Surely fixes rust-lang#17182

I have tried running the analysis-stats in some of the repos mentioned in rust-lang#17080. No panic in almost all of them.
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.

Arguments to std::iter::iterate should be flipped
2 participants