Skip to content

Commit 6ac44fa

Browse files
mgsloanibraheemdev
andauthored
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <[email protected]>
1 parent c0aa7b5 commit 6ac44fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/slice/mod.rs

+3-3
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)