summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-05 22:48:34 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-05 22:48:34 +0000
commit3397b97987abac3b1d84d5fa8c7b6185a20bf409 (patch)
treecb27522bd13ba457083b4aa4ca60724ffeaa300b
parent4fcbe72a62529745a85011552ae1a6659d770f93 (diff)
downloadaoc2022-3397b97987abac3b1d84d5fa8c7b6185a20bf409.tar.gz
aoc2022-3397b97987abac3b1d84d5fa8c7b6185a20bf409.tar.bz2
aoc2022-3397b97987abac3b1d84d5fa8c7b6185a20bf409.tar.xz
aoc2022-3397b97987abac3b1d84d5fa8c7b6185a20bf409.zip
Remove extraneous prints from day5
-rw-r--r--src/day5.rs4
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?");