@@ -193,7 +193,7 @@ impl<T> [T] {
193193 /// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
194194 /// combines the fast average case of quicksort with the fast worst case and partial run
195195 /// 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*)).
197197 ///
198198 /// The auxiliary memory allocation behavior depends on the input length. Short slices are
199199 /// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
@@ -252,7 +252,7 @@ impl<T> [T] {
252252 /// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
253253 /// combines the fast average case of quicksort with the fast worst case and partial run
254254 /// 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*)).
256256 ///
257257 /// The auxiliary memory allocation behavior depends on the input length. Short slices are
258258 /// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
@@ -298,7 +298,7 @@ impl<T> [T] {
298298 /// The current implementation is based on [driftsort] by Orson Peters and Lukas Bergdoll, which
299299 /// combines the fast average case of quicksort with the fast worst case and partial run
300300 /// 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*)).
302302 ///
303303 /// The auxiliary memory allocation behavior depends on the input length. Short slices are
304304 /// handled without allocation, medium sized slices allocate `self.len()` and beyond that it
0 commit comments