Skip to content

Commit 2eef440

Browse files
mgsloanibraheemdev
andauthored
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent a506f9d commit 2eef440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@ impl<T> [T] {
30703070
}
30713071

30723072
/// 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 `>=`.
3073+
/// elements before `index` will be `<=` to this value, and all elements after will be `>=` to it.
30743074
///
30753075
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
30763076
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This

0 commit comments

Comments
 (0)