Remove left in day 5 debug statement

This commit is contained in:
pjht 2022-12-05 10:14:31 -06:00
parent 60105aa33b
commit a546d63914

View File

@ -18,7 +18,6 @@ impl Stacks {
pub fn apply_instruction_in_order(&mut self, ins: &Instruction) { pub fn apply_instruction_in_order(&mut self, ins: &Instruction) {
let from_stack = &mut self.stacks[ins.from - 1]; let from_stack = &mut self.stacks[ins.from - 1];
let crates = from_stack.split_off(from_stack.len() - ins.count); let crates = from_stack.split_off(from_stack.len() - ins.count);
dbg!(&crates);
self.stacks[ins.to - 1].extend_from_slice(&crates); self.stacks[ins.to - 1].extend_from_slice(&crates);
} }