Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
This commit is contained in:
parent
305bd856b2
commit
a506f9d210
1 changed files with 1 additions and 1 deletions
|
@ -3076,7 +3076,7 @@ impl<T> [T] {
|
|||
/// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This
|
||||
/// function is also known as "kth element" in other libraries.
|
||||
///
|
||||
/// Returns a triple partitioning the reordered slice:
|
||||
/// Returns a triple that partitions the reordered slice:
|
||||
///
|
||||
/// * The unsorted subslice before `index`, whose elements all satisfy `x <= self[index]`.
|
||||
/// * The element at `index`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue