From 305bd856b22fbbad7e30028d4b230d8704c00776 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Sat, 18 Jan 2025 18:33:23 -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 1b68b8ee7d70..9b82a17cd5c3 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -3078,9 +3078,9 @@ impl [T] { /// /// Returns a triple partitioning the reordered slice: /// - /// * The unsorted subslice before `index` (elements all pass `x <= self[index]`) - /// * The element at `index` - /// * The unsorted subslice after `index` (elements all pass `x >= self[index]`) + /// * The unsorted subslice before `index`, whose elements all satisfy `x <= self[index]`. + /// * The element at `index`. + /// * The unsorted subslice after `index`, whose elements all satisfy `x >= self[index]`. /// /// # Current implementation ///