@@ -2995,7 +2995,7 @@ impl<T> [T] {
2995
2995
/// This reordering has the additional property that any value at position `i < index` will be
2996
2996
/// less than or equal to any value at a position `j > index`. Additionally, this reordering is
2997
2997
/// unstable (i.e. any number of equal elements may end up at position `index`), in-place
2998
- /// (i.e. does not allocate), and *O*(*n*) on average. The worst-case performance is *O*(*n* log *n*) .
2998
+ /// (i.e. does not allocate), and runs in *O*(*n*) time .
2999
2999
/// This function is also known as "kth element" in other libraries.
3000
3000
///
3001
3001
/// It returns a triplet of the following from the reordered slice:
@@ -3044,9 +3044,8 @@ impl<T> [T] {
3044
3044
/// This reordering has the additional property that any value at position `i < index` will be
3045
3045
/// less than or equal to any value at a position `j > index` using the comparator function.
3046
3046
/// Additionally, this reordering is unstable (i.e. any number of equal elements may end up at
3047
- /// position `index`), in-place (i.e. does not allocate), and *O*(*n*) on average.
3048
- /// The worst-case performance is *O*(*n* log *n*). This function is also known as
3049
- /// "kth element" in other libraries.
3047
+ /// position `index`), in-place (i.e. does not allocate), and runs in *O*(*n*) time.
3048
+ /// This function is also known as "kth element" in other libraries.
3050
3049
///
3051
3050
/// It returns a triplet of the following from
3052
3051
/// the slice reordered according to the provided comparator function: the subslice prior to
@@ -3099,8 +3098,7 @@ impl<T> [T] {
3099
3098
/// This reordering has the additional property that any value at position `i < index` will be
3100
3099
/// less than or equal to any value at a position `j > index` using the key extraction function.
3101
3100
/// Additionally, this reordering is unstable (i.e. any number of equal elements may end up at
3102
- /// position `index`), in-place (i.e. does not allocate), and *O*(*n*) on average.
3103
- /// The worst-case performance is *O*(*n* log *n*).
3101
+ /// position `index`), in-place (i.e. does not allocate), and runs in *O*(*n*) time.
3104
3102
/// This function is also known as "kth element" in other libraries.
3105
3103
///
3106
3104
/// It returns a triplet of the following from
0 commit comments