diff options
| author | Michael Sloan <mgsloan@gmail.com> | 2025-01-18 18:33:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 18:33:02 -0700 |
| commit | d39d0ecd57a835e6065bece447c37d0921ded43b (patch) | |
| tree | 4ae428861689b817551b80fad60b940057fdeaf8 | |
| parent | ecf68f3cd0078d3d2407d826c8338528e456c693 (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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index ecf64e9fc03..1b68b8ee7d7 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -3102,7 +3102,7 @@ impl<T> [T] { /// ``` /// let mut v = [-5i32, 4, 2, -3, 1]; /// - /// // Find the items `<=` the median, the median, and `>=` the median. + /// // Find the items `<=` to the median, the median itself, and the items `>=` to it. /// let (lesser, median, greater) = v.select_nth_unstable(2); /// /// assert!(lesser == [-3, -5] || lesser == [-5, -3]); |
