We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1589d1a commit a06ea4fCopy full SHA for a06ea4f
core/src/slice/mod.rs
@@ -3131,8 +3131,8 @@ impl<T> [T] {
3131
}
3132
3133
/// 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 be `<=` this value, and all elements
3135
- /// after will be `>=` according to the comparator function.
+ /// sort-order position. All elements before `index` will be `<=` to this value, and all elements
+ /// after will be `>=` to it, according to the comparator function.
3136
///
3137
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
3138
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
0 commit comments