Skip to content

Commit a3c6580

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/slice/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,9 +3203,9 @@ impl<T> [T] {
32033203
///
32043204
/// Returns a triple partitioning the reordered slice:
32053205
///
3206-
/// * The unsorted subslice before `index` (elements all pass `f(x) <= f(self[index])`)
3207-
/// * The element at `index`
3208-
/// * The unsorted subslice after `index` (elements all pass `f(x) >= f(self[index])`)
3206+
/// * The unsorted subslice before `index`, whose elements all satisfy `f(x) <= f(self[index])`.
3207+
/// * The element at `index`.
3208+
/// * The unsorted subslice after `index`, whose elements all satisfy `f(x) >= f(self[index])`.
32093209
///
32103210
/// # Current implementation
32113211
///

0 commit comments

Comments
 (0)