Skip to content

Commit

Permalink
then be -> be based on feedback from @ibraheemdev
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan authored and gitbot committed Feb 20, 2025
1 parent e25fb35 commit f053fc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3072,7 +3072,7 @@ impl<T> [T] {
}

/// Reorders the slice such that the element at `index` is at a sort-order position. All
/// elements before `index` will then be `<=` this value, and all elements after will be `>=`.
/// elements before `index` will be `<=` this value, and all elements after will be `>=`.
///
/// This reordering is unstable (i.e. any element that compares equal to the nth element may end
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
Expand Down Expand Up @@ -3131,8 +3131,8 @@ impl<T> [T] {
}

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

0 comments on commit f053fc4

Please sign in to comment.