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:
@@ -3138,9 +3138,9 @@ pub fn select_nth_unstable(&mut self, index: usize) -> (&mut [T], &mut T, &mut [
|
||||
///
|
||||
/// Returns a triple partitioning the reordered slice:
|
||||
///
|
||||
/// * The unsorted subslice before `index` (elements all pass `compare(x, self[index]).is_le()`)
|
||||
/// * The element at `index`
|
||||
/// * The unsorted subslice after `index` (elements all pass `compare(x, self[index]).is_ge()`)
|
||||
/// * The unsorted subslice before `index`, whose elements all satisfy `compare(x, self[index]).is_le()`.
|
||||
/// * The element at `index`.
|
||||
/// * The unsorted subslice after `index`, whose elements all satisfy `compare(x, self[index]).is_ge()`.
|
||||
///
|
||||
/// # Current implementation
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user