Skip to content

Commit

Permalink
Update library/core/src/slice/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ibraheem Ahmed <[email protected]>
  • Loading branch information
mgsloan and ibraheemdev authored Jan 19, 2025
1 parent c0aa7b5 commit 6ac44fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3138,9 +3138,9 @@ impl<T> [T] {
///
/// Returns a triple partitioning the reordered slice:
///
/// * The unsorted subslice before `index` (elements all pass `compare(x, self[index]).is_le()`)
/// * The element at `index`
/// * The unsorted subslice after `index` (elements all pass `compare(x, self[index]).is_ge()`)
/// * The unsorted subslice before `index`, whose elements all satisfy `compare(x, self[index]).is_le()`.
/// * The element at `index`.
/// * The unsorted subslice after `index`, whose elements all satisfy `compare(x, self[index]).is_ge()`.
///
/// # Current implementation
///
Expand Down

0 comments on commit 6ac44fa

Please sign in to comment.