From 6ac44fa5faf20b6c1b43b6b3cefc13b5ab4b2de0 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Sat, 18 Jan 2025 18:35:22 -0700 Subject: [PATCH] Update library/core/src/slice/mod.rs Co-authored-by: Ibraheem Ahmed --- library/core/src/slice/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index 34fd78001e80..2e697f885055 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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 ///