Skip to content

Commit ef0774a

Browse files
mgsloangitbot
authored andcommitted
then be -> be based on feedback from @ibraheemdev
1 parent 13d8bfb commit ef0774a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/slice/mod.rs

Lines changed: 3 additions & 3 deletions
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 then be `<=` this value, and all elements after will be `>=`.
3073+
/// elements before `index` will be `<=` this value, and all elements after will be `>=`.
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
@@ -3129,8 +3129,8 @@ impl<T> [T] {
31293129
}
31303130

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

0 commit comments

Comments
 (0)