Skip to content

Commit b5409d6

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/slice/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3131,8 +3131,8 @@ impl<T> [T] {
31313131
}
31323132

31333133
/// Reorders the slice with a comparator function such that the element at `index` is at a
3134-
/// sort-order position. All elements before `index` will be `<=` this value, and all elements
3135-
/// after will be `>=` according to the comparator function.
3134+
/// sort-order position. All elements before `index` will be `<=` to this value, and all elements
3135+
/// after will be `>=` to it, according to the comparator function.
31363136
///
31373137
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
31383138
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This

0 commit comments

Comments
 (0)