diff options
| author | Michael Sloan <mgsloan@gmail.com> | 2025-01-18 18:32:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 18:32:47 -0700 |
| commit | ecf68f3cd0078d3d2407d826c8338528e456c693 (patch) | |
| tree | 5b7cc7886112e6a6a29eb85eb152eff9e09bd9bf | |
| parent | 0257cfb974c2a78d96b8a3d192a61d0bdec00f39 (diff) | |
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
| -rw-r--r-- | library/core/src/slice/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index 03c21507aec..ecf64e9fc03 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -3129,8 +3129,8 @@ impl<T> [T] { } /// Reorders the slice with a comparator function such that the element at `index` is at a - /// sort-order position. All elements before `index` will be `<=` this value, and all elements - /// after will be `>=` according to the comparator function. + /// sort-order position. All elements before `index` will be `<=` to this value, and all elements + /// after will be `>=` to it, according to the comparator function. /// /// This reordering is unstable (i.e. any element that compares equal to the nth element may end /// up at that position), in-place (i.e. does not allocate), and runs in *O*(*n*) time. This |
