Bikeshedding
This commit is contained in:
parent
113e8c9996
commit
c32122bf50
1 changed files with 1 additions and 1 deletions
|
@ -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
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue