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

sort functions are clumsy #3265

Closed
jesse99 opened this issue Aug 24, 2012 · 1 comment
Closed

sort functions are clumsy #3265

jesse99 opened this issue Aug 24, 2012 · 1 comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@jesse99
Copy link
Contributor

jesse99 commented Aug 24, 2012

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.

@brson
Copy link
Contributor

brson commented Aug 24, 2012

Agreed.

@brson brson closed this as completed in 868d101 Oct 25, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Jan 22, 2024
RalfJung pushed a commit to RalfJung/rust that referenced this issue Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants