Skip to content

Commit a118aa2

Browse files
committed
Mention [T]::sort is stable in docs
Fixes rust-lang#27322
1 parent a216e84 commit a118aa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcollections/slice.rs

+2
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,8 @@ impl<T> [T] {
732732
///
733733
/// This is equivalent to `self.sort_by(|a, b| a.cmp(b))`.
734734
///
735+
/// This is a stable sort.
736+
///
735737
/// # Examples
736738
///
737739
/// ```rust

0 commit comments

Comments
 (0)