mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
This commit is contained in:
@@ -3076,7 +3076,7 @@ pub fn sort_unstable_by_key<K, F>(&mut self, mut f: F)
|
||||
/// 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`.
|
||||
|
||||
Reference in New Issue
Block a user