Skip to content

Commit ad43ce4

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

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
@@ -3138,9 +3138,9 @@ impl<T> [T] {
31383138
///
31393139
/// Returns a triple partitioning the reordered slice:
31403140
///
3141-
/// * The unsorted subslice before `index` (elements all pass `compare(x, self[index]).is_le()`)
3142-
/// * The element at `index`
3143-
/// * The unsorted subslice after `index` (elements all pass `compare(x, self[index]).is_ge()`)
3141+
/// * The unsorted subslice before `index`, whose elements all satisfy `compare(x, self[index]).is_le()`.
3142+
/// * The element at `index`.
3143+
/// * The unsorted subslice after `index`, whose elements all satisfy `compare(x, self[index]).is_ge()`.
31443144
///
31453145
/// # Current implementation
31463146
///

0 commit comments

Comments
 (0)