Remove pointless variable assignment.
This commit is contained in:
parent
2217a5d1ea
commit
c9a483b2f4
|
@ -23,7 +23,6 @@ pub fn run() {
|
||||||
if current_elf_calories > 0 {
|
if current_elf_calories > 0 {
|
||||||
println!("Adding to current elf total: {:?}", current_elf_calories);
|
println!("Adding to current elf total: {:?}", current_elf_calories);
|
||||||
calorie_totals.push(current_elf_calories);
|
calorie_totals.push(current_elf_calories);
|
||||||
current_elf_calories = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
calorie_totals.sort();
|
calorie_totals.sort();
|
||||||
|
|
Loading…
Reference in New Issue