Skip to content

Commit d39d0ec

Browse files
mgsloanibraheemdev
andauthored
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent ecf68f3 commit d39d0ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,7 @@ impl<T> [T] {
31023102
/// ```
31033103
/// let mut v = [-5i32, 4, 2, -3, 1];
31043104
///
3105-
/// // Find the items `<=` the median, the median, and `>=` the median.
3105+
/// // Find the items `<=` to the median, the median itself, and the items `>=` to it.
31063106
/// let (lesser, median, greater) = v.select_nth_unstable(2);
31073107
///
31083108
/// assert!(lesser == [-3, -5] || lesser == [-5, -3]);

0 commit comments

Comments
 (0)