diff options
| author | Michael Sloan <mgsloan@gmail.com> | 2025-01-18 18:35:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 18:35:22 -0700 |
| commit | 6ac44fa5faf20b6c1b43b6b3cefc13b5ab4b2de0 (patch) | |
| tree | edd87860b6c85f09f3710e0592d141867cf34edc | |
| parent | c0aa7b5cf081fdbde2c79c0a5f2de87b81b4db50 (diff) | |
| download | rust-6ac44fa5faf20b6c1b43b6b3cefc13b5ab4b2de0.tar.gz rust-6ac44fa5faf20b6c1b43b6b3cefc13b5ab4b2de0.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 34fd78001e8..2e697f88505 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -3138,9 +3138,9 @@ impl<T> [T] { /// /// 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 /// |
