Skip to content

Commit e4cca54

Browse files
mgsloanibraheemdev
authored and
gitbot
committed
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent 2ff8dc3 commit e4cca54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/slice/mod.rs

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