-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(sort_floats)]
This is a tracking issue for the sort_floats
method on [f32]
and [f64]
, a convenience method to sort a slice of floats by calling sort_unstable_by
using total_cmp
.
Public API
impl [f32] {
pub fn sort_floats(&mut self);
}
impl [f64] {
pub fn sort_floats(&mut self);
}
Steps / History
- Implementation: Add
[f32]::sort_floats
and[f64]::sort_floats
#93397 - Final comment period (FCP)
- Stabilization PR
Open questions
- Should we rename this to
sort
, which would require some additional steps (possibly negative impls forOrd
onf32
andf64
) to avoid a name conflict?
Equim-chanEquim-chan
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.