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

Arguments to std::iter::iterate should be flipped #17066

Closed
huonw opened this issue Sep 7, 2014 · 0 comments · Fixed by #17080
Closed

Arguments to std::iter::iterate should be flipped #17066

huonw opened this issue Sep 7, 2014 · 0 comments · Fixed by #17080
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@huonw
Copy link
Member

huonw commented Sep 7, 2014

It's currently f: |T| -> T, seed: T but the convention is (and it is more readable) to have the closure last, i.e. seed: T, f: |T| -> T.

@huonw huonw added A-libs E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. labels Sep 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant