about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Sloan <mgsloan@gmail.com>2025-01-18 18:33:23 -0700
committerGitHub <noreply@github.com>2025-01-18 18:33:23 -0700
commit305bd856b22fbbad7e30028d4b230d8704c00776 (patch)
tree3fcc5a68b4b2e2dac19ca4e5ef77fe48ee9e0df1
parentd39d0ecd57a835e6065bece447c37d0921ded43b (diff)
downloadrust-305bd856b22fbbad7e30028d4b230d8704c00776.tar.gz
rust-305bd856b22fbbad7e30028d4b230d8704c00776.zip
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
-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
     ///