diff --git a/rust/src/day1.rs b/rust/src/day1.rs index a90ef75..f9fc5c1 100644 --- a/rust/src/day1.rs +++ b/rust/src/day1.rs @@ -23,7 +23,6 @@ pub fn run() { if current_elf_calories > 0 { println!("Adding to current elf total: {:?}", current_elf_calories); calorie_totals.push(current_elf_calories); - current_elf_calories = 0; } calorie_totals.sort();