@@ -2893,7 +2893,7 @@ impl<T> [T] {
28932893 /// The current implementation is based on [ipnsort] by Lukas Bergdoll and Orson Peters, which
28942894 /// combines the fast average case of quicksort with the fast worst case of heapsort, achieving
28952895 /// linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the
2896- /// expected time to sort the data is *O(*n* log(*k*))*.
2896+ /// expected time to sort the data is *O(*n* \* log(*k*))*.
28972897 ///
28982898 /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
28992899 /// slice is partially sorted.
@@ -2950,7 +2950,7 @@ impl<T> [T] {
29502950 /// The current implementation is based on [ipnsort] by Lukas Bergdoll and Orson Peters, which
29512951 /// combines the fast average case of quicksort with the fast worst case of heapsort, achieving
29522952 /// linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the
2953- /// expected time to sort the data is *O(*n* log(*k*))*.
2953+ /// expected time to sort the data is *O(*n* \* log(*k*))*.
29542954 ///
29552955 /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
29562956 /// slice is partially sorted.
@@ -2994,7 +2994,7 @@ impl<T> [T] {
29942994 /// The current implementation is based on [ipnsort] by Lukas Bergdoll and Orson Peters, which
29952995 /// combines the fast average case of quicksort with the fast worst case of heapsort, achieving
29962996 /// linear time on fully sorted and reversed inputs. On inputs with k distinct elements, the
2997- /// expected time to sort the data is *O(*n* log(*k*))*.
2997+ /// expected time to sort the data is *O(*n* \* log(*k*))*.
29982998 ///
29992999 /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
30003000 /// slice is partially sorted.
@@ -3042,8 +3042,8 @@ impl<T> [T] {
30423042 /// Median of Medians using Tukey's Ninther for pivot selection, which guarantees linear runtime
30433043 /// for all inputs.
30443044 ///
3045- /// It is typically faster than sorting, except in a few special cases, e.g., when the slice is
3046- /// nearly fully sorted, where [ `slice::sort`] may be faster.
3045+ /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
3046+ /// slice is nearly fully sorted, where `slice::sort` may be faster.
30473047 ///
30483048 /// [`sort_unstable`]: slice::sort_unstable
30493049 ///
@@ -3103,8 +3103,8 @@ impl<T> [T] {
31033103 /// Median of Medians using Tukey's Ninther for pivot selection, which guarantees linear runtime
31043104 /// for all inputs.
31053105 ///
3106- /// It is typically faster than sorting, except in a few special cases, e.g., when the slice is
3107- /// nearly fully sorted, where [ `slice::sort`] may be faster.
3106+ /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
3107+ /// slice is nearly fully sorted, where `slice::sort` may be faster.
31083108 ///
31093109 /// [`sort_unstable`]: slice::sort_unstable
31103110 ///
@@ -3168,8 +3168,8 @@ impl<T> [T] {
31683168 /// Median of Medians using Tukey's Ninther for pivot selection, which guarantees linear runtime
31693169 /// for all inputs.
31703170 ///
3171- /// It is typically faster than sorting, except in a few special cases, e.g., when the slice is
3172- /// nearly fully sorted, where [ `slice::sort`] may be faster.
3171+ /// It is typically faster than stable sorting, except in a few special cases, e.g., when the
3172+ /// slice is nearly fully sorted, where `slice::sort` may be faster.
31733173 ///
31743174 /// [`sort_unstable`]: slice::sort_unstable
31753175 ///
0 commit comments