Skip to content

Commit 33efe95

Browse files
committed
Fixed wrong comment for sorted_unstable
1 parent a8f7f5e commit 33efe95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ pub trait Itertools : Iterator {
22092209
where Self: Sized,
22102210
Self::Item: Ord
22112211
{
2212-
// Use .sort() directly since it is not quite identical with
2212+
// Use .sort_unstable() directly since it is not quite identical with
22132213
// .sort_by(Ord::cmp)
22142214
let mut v = Vec::from_iter(self);
22152215
v.sort_unstable();

0 commit comments

Comments
 (0)