diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/day5.rs | 4 |
1 files 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?"); |