Skip to content

Commit 305bd85

Browse files
mgsloanibraheemdev
andauthored
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent d39d0ec commit 305bd85

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
@@ -3078,9 +3078,9 @@ impl<T> [T] {
30783078
///
30793079
/// Returns a triple partitioning the reordered slice:
30803080
///
3081-
/// * The unsorted subslice before `index` (elements all pass `x <= self[index]`)
3082-
/// * The element at `index`
3083-
/// * The unsorted subslice after `index` (elements all pass `x >= self[index]`)
3081+
/// * The unsorted subslice before `index`, whose elements all satisfy `x <= self[index]`.
3082+
/// * The element at `index`.
3083+
/// * The unsorted subslice after `index`, whose elements all satisfy `x >= self[index]`.
30843084
///
30853085
/// # Current implementation
30863086
///

0 commit comments

Comments
 (0)