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 a506f9d commit 2eef440Copy full SHA for 2eef440
library/core/src/slice/mod.rs
@@ -3070,7 +3070,7 @@ impl<T> [T] {
3070
}
3071
3072
/// Reorders the slice such that the element at `index` is at a sort-order position. All
3073
- /// elements before `index` will be `<=` this value, and all elements after will be `>=`.
+ /// elements before `index` will be `<=` to this value, and all elements after will be `>=` to it.
3074
///
3075
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
3076
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
0 commit comments