diff options
| author | Michael Sloan <mgsloan@gmail.com> | 2025-01-18 18:33:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 18:33:23 -0700 |
| commit | 305bd856b22fbbad7e30028d4b230d8704c00776 (patch) | |
| tree | 3fcc5a68b4b2e2dac19ca4e5ef77fe48ee9e0df1 | |
| parent | d39d0ecd57a835e6065bece447c37d0921ded43b (diff) | |
| download | rust-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.rs | 6 |
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 /// |
