Day18 remove debug prints

This commit is contained in:
Daniel S. 2020-12-19 01:11:29 +01:00
parent 054ca54991
commit 2c03f7e745

View file

@ -63,7 +63,6 @@ impl RPN {
}
fn eval(&self) -> i64 {
println!("{:?}", self.0);
let mut stack = vec![];
for token in &self.0 {
match token {
@ -108,7 +107,6 @@ pub fn input_generator(input: &str) -> Vec<Vec<Token>> {
let exprs: Vec<Vec<Token>> = input
.lines()
.map(|l| {
println!("parsing: {:?}", l);
l.replace("(", "( ")
.replace(")", " )")
.split_ascii_whitespace()