about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/slice/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index 1b68b8ee7d7..9b82a17cd5c 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -3078,9 +3078,9 @@ impl<T> [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
     ///