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