@@ -2995,7 +2995,7 @@ impl<T> [T] {
29952995 /// This reordering has the additional property that any value at position `i < index` will be
29962996 /// less than or equal to any value at a position `j > index`. Additionally, this reordering is
29972997 /// 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 .
29992999 /// This function is also known as "kth element" in other libraries.
30003000 ///
30013001 /// It returns a triplet of the following from the reordered slice:
@@ -3044,9 +3044,8 @@ impl<T> [T] {
30443044 /// This reordering has the additional property that any value at position `i < index` will be
30453045 /// less than or equal to any value at a position `j > index` using the comparator function.
30463046 /// 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.
30503049 ///
30513050 /// It returns a triplet of the following from
30523051 /// the slice reordered according to the provided comparator function: the subslice prior to
@@ -3099,8 +3098,7 @@ impl<T> [T] {
30993098 /// This reordering has the additional property that any value at position `i < index` will be
31003099 /// less than or equal to any value at a position `j > index` using the key extraction function.
31013100 /// 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.
31043102 /// This function is also known as "kth element" in other libraries.
31053103 ///
31063104 /// It returns a triplet of the following from
0 commit comments