about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Sloan <mgsloan@gmail.com>2025-01-18 18:33:33 -0700
committerGitHub <noreply@github.com>2025-01-18 18:33:33 -0700
commita506f9d21038d067825de6947a1067b3d212948d (patch)
treec2f6ef6d1459470f821db73c9e6cd1e7bc245c10
parent305bd856b22fbbad7e30028d4b230d8704c00776 (diff)
downloadrust-a506f9d21038d067825de6947a1067b3d212948d.tar.gz
rust-a506f9d21038d067825de6947a1067b3d212948d.zip
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
-rw-r--r--library/core/src/slice/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index 9b82a17cd5c..2f2bc5c559e 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -3076,7 +3076,7 @@ impl<T> [T] {
     /// up at that position), in-place (i.e.  does not allocate), and runs in *O*(*n*) time. This
     /// function is also known as "kth element" in other libraries.
     ///
-    /// Returns a triple partitioning the reordered slice:
+    /// Returns a triple that partitions the reordered slice:
     ///
     /// * The unsorted subslice before `index`, whose elements all satisfy `x <= self[index]`.
     /// * The element at `index`.