Skip to content

sort functions are clumsy #3265

Closed
Closed
@jesse99

Description

@jesse99

The sort module has functions like:
fn merge_sort<T: copy>(le: le<T>, v: [const T]) -> [T]

Usage would be a lot more idiomatic if the function pointer was the last argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions