We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b97407 commit 0614fb0Copy full SHA for 0614fb0
core/src/slice/mod.rs
@@ -3196,8 +3196,8 @@ impl<T> [T] {
3196
}
3197
3198
/// Reorders the slice with a key extraction function such that the element at `index` is at a
3199
- /// sort-order position. All elements before `index` will have keys `<=` the key at `index`, and
3200
- /// all elements after will have keys `>=`.
+ /// sort-order position. All elements before `index` will have keys `<=` to the key at `index`, and
+ /// all elements after will have keys `>=` to it.
3201
///
3202
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
3203
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
0 commit comments