Skip to content

Commit 5bd19bd

Browse files
mgsloanibraheemdev
authored and
gitbot
committed
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent a9ebfa4 commit 5bd19bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff 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 be `<=` this value, and all elements after will be `>=`.
3075+
/// elements before `index` will be `<=` to this value, and all elements after will be `>=` to it.
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

0 commit comments

Comments
 (0)