Skip to content

Commit 0ae3097

Browse files
mgsloanibraheemdev
authored and
gitbot
committed
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <[email protected]>
1 parent 462fdbe commit 0ae3097

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
@@ -3140,9 +3140,9 @@ impl<T> [T] {
31403140
///
31413141
/// Returns a triple partitioning the reordered slice:
31423142
///
3143-
/// * The unsorted subslice before `index` (elements all pass `compare(x, self[index]).is_le()`)
3144-
/// * The element at `index`
3145-
/// * The unsorted subslice after `index` (elements all pass `compare(x, self[index]).is_ge()`)
3143+
/// * The unsorted subslice before `index`, whose elements all satisfy `compare(x, self[index]).is_le()`.
3144+
/// * The element at `index`.
3145+
/// * The unsorted subslice after `index`, whose elements all satisfy `compare(x, self[index]).is_ge()`.
31463146
///
31473147
/// # Current implementation
31483148
///

0 commit comments

Comments
 (0)