From 594968f781cf5dd0b09694d4412ec481d778dddf Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Thu, 22 Jul 2021 22:11:55 -0500 Subject: [PATCH] Remove latent debug `println` for BFF input --- src/interpret.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/interpret.rs b/src/interpret.rs index cd7dbdfd..5481c1d0 100644 --- a/src/interpret.rs +++ b/src/interpret.rs @@ -239,10 +239,7 @@ impl ExecEnv { instructions: code.to_owned(), tape_len: tape_len .as_ref() - .map(|tape_len| { - self.eval_expr(tape_len) - .map(|v| v.into_i32() as usize) - }) + .map(|tape_len| self.eval_expr(tape_len).map(|v| v.into_i32() as usize)) .unwrap_or(Ok(crate::brian::DEFAULT_TAPE_SIZE_LIMIT))?, }), ); @@ -335,7 +332,7 @@ impl ExecEnv { for arg in args { arg.borrow().bf_write(&mut input); } - println!("input = {:?}", input); + let mut output = vec![]; crate::brian::Interpreter::from_ascii_with_tape_limit(