Skip to content

Commit e34f178

Browse files
mgsloanibraheemdev
authored and
gitbot
committed
Update library/core/src/slice/mod.rs
Co-authored-by: Ibraheem Ahmed <[email protected]>
1 parent a06ea4f commit e34f178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/slice/mod.rs

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

0 commit comments

Comments
 (0)