Skip to content

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

Description

@huonw

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions