From 3397b97987abac3b1d84d5fa8c7b6185a20bf409 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 5 Dec 2022 22:48:34 +0000 Subject: Remove extraneous prints from day5 --- src/day5.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/day5.rs b/src/day5.rs index 806ddf2..efc0cc3 100644 --- a/src/day5.rs +++ b/src/day5.rs @@ -20,7 +20,7 @@ pub fn run(input: String) { } } } - println!("ship: {:?}", ship); + //println!("ship: {:?}", ship); lix += 1; @@ -34,7 +34,7 @@ pub fn run(input: String) { let n: usize = mm.get(1).unwrap().as_str().parse().unwrap(); let ifrom: usize = mm.get(2).unwrap().as_str().parse().unwrap(); let ito: usize = mm.get(3).unwrap().as_str().parse().unwrap(); - println!("moving {} from {} to {}", n, ifrom, ito); + //println!("moving {} from {} to {}", n, ifrom, ito); // for _ in 0..n { // let stackfrom = ship.get_mut(&ifrom).expect("couldn't find stack to pop from!"); // let ch = stackfrom.pop().expect("failed to pop from stack! maybe it was empty?"); -- cgit v1.2.3-ZIG