From e1d3671d8ece7e40211fb51db5d69653cede4736 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Sat, 18 Jan 2025 18:33:42 -0700 Subject: [PATCH] Update library/core/src/slice/mod.rs Co-authored-by: Ibraheem Ahmed --- core/src/slice/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/slice/mod.rs b/core/src/slice/mod.rs index 0b739e0d6c103..9ec939abe3963 100644 --- a/core/src/slice/mod.rs +++ b/core/src/slice/mod.rs @@ -3072,7 +3072,7 @@ impl [T] { } /// Reorders the slice 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 `>=`. + /// elements before `index` will be `<=` to this value, and all elements after will be `>=` to it. /// /// 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