Skip to content

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

@huonw

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.

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