Fix day01 output
This commit is contained in:
parent
35da387b49
commit
f18d194ea8
|
@ -69,13 +69,7 @@ fn main() {
|
|||
.map(Result::unwrap)
|
||||
.map(either_calories_or_blank)
|
||||
.collect();
|
||||
println!(
|
||||
"Max calories carried by a elves ({}, {}, {}): {}",
|
||||
top.first,
|
||||
top.second,
|
||||
top.third,
|
||||
top.total_sum()
|
||||
);
|
||||
println!("{}", top.total_sum());
|
||||
}
|
||||
|
||||
impl FromIterator<Option<usize>> for TopCal {
|
||||
|
|
Loading…
Reference in a new issue