Skip to content

Commit

Permalink
Mention [T]::sort is stable in docs
Browse files Browse the repository at this point in the history
Fixes #27322
  • Loading branch information
steveklabnik committed Nov 4, 2015
1 parent a216e84 commit a118aa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcollections/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,8 @@ impl<T> [T] {
///
/// This is equivalent to `self.sort_by(|a, b| a.cmp(b))`.
///
/// This is a stable sort.
///
/// # Examples
///
/// ```rust
Expand Down

0 comments on commit a118aa2

Please sign in to comment.