File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3072,7 +3072,7 @@ impl<T> [T] {
30723072 }
30733073
30743074 /// Reorders the slice such that the element at `index` is at a sort-order position. All
3075- /// elements before `index` will then be `<=` this value, and all elements after will be `>=`.
3075+ /// elements before `index` will be `<=` this value, and all elements after will be `>=`.
30763076 ///
30773077 /// This reordering is unstable (i.e. any element that compares equal to the nth element may end
30783078 /// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
@@ -3131,8 +3131,8 @@ impl<T> [T] {
31313131 }
31323132
31333133 /// Reorders the slice with a comparator function such that the element at `index` is at a
3134- /// sort-order position. All elements before `index` will then be `<=` this value, and all
3135- /// elements after will be `>=` according to the comparator function.
3134+ /// sort-order position. All elements before `index` will be `<=` this value, and all elements
3135+ /// after will be `>=` according to the comparator function.
31363136 ///
31373137 /// This reordering is unstable (i.e. any element that compares equal to the nth element may end
31383138 /// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
You can’t perform that action at this time.
0 commit comments