Bikeshedding
This commit is contained in:
parent
113e8c9996
commit
c32122bf50
|
@ -17,7 +17,7 @@ fn ordered_calories(input: &str) -> Vec<i32> {
|
|||
}
|
||||
}
|
||||
}
|
||||
result.sort_by(|a, b| b.partial_cmp(a).unwrap());
|
||||
result.sort_by(|a, b| b.cmp(a));
|
||||
result
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue