@@ -193,7 +193,7 @@ impl<T> [T] {
193
193
/// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
194
194
/// combines the fast average case of quicksort with the fast worst case and partial run
195
195
/// detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs
196
- /// with k distinct elements, the expected time to sort the data is *O(*n* \* log(*k*))* .
196
+ /// with k distinct elements, the expected time to sort the data is *O* (*n* \* log(*k*)).
197
197
///
198
198
/// The auxiliary memory allocation behavior depends on the input length. Short slices are
199
199
/// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
@@ -252,7 +252,7 @@ impl<T> [T] {
252
252
/// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
253
253
/// combines the fast average case of quicksort with the fast worst case and partial run
254
254
/// detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs
255
- /// with k distinct elements, the expected time to sort the data is *O(*n* \* log(*k*))* .
255
+ /// with k distinct elements, the expected time to sort the data is *O* (*n* \* log(*k*)).
256
256
///
257
257
/// The auxiliary memory allocation behavior depends on the input length. Short slices are
258
258
/// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
@@ -298,7 +298,7 @@ impl<T> [T] {
298
298
/// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
299
299
/// combines the fast average case of quicksort with the fast worst case and partial run
300
300
/// detection of mergesort, achieving linear time on fully sorted and reversed inputs. On inputs
301
- /// with k distinct elements, the expected time to sort the data is *O(*n* \* log(*k*))* .
301
+ /// with k distinct elements, the expected time to sort the data is *O* (*n* \* log(*k*)).
302
302
///
303
303
/// The auxiliary memory allocation behavior depends on the input length. Short slices are
304
304
/// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
0 commit comments