Fix wording around sort guarantees

Fixes #38524
This commit is contained in:
Steve Klabnik 2017-01-10 10:23:21 -05:00
parent 1283c02955
commit 2a3568f14b

View file

@ -1064,8 +1064,11 @@ impl<T> [T] {
/// This is equivalent to `self.sort_by(|a, b| a.cmp(b))`.
///
/// This sort is stable and `O(n log n)` worst-case, but allocates
/// temporary storage half the size of `self`.
/// This sort is stable and `O(n log n)` worst-case.
///
/// # Current Implementation
///
/// The current implementation allocates temporary storage half the size of `self`.
///
/// # Examples
///