From 66dc814b4b8e7c2461cf6ac3bc05f36bfdafdfa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aodhnait=20=C3=89ta=C3=ADn?= Date: Sun, 23 May 2021 08:10:06 +0100 Subject: [PATCH] Remove unused code It was only needed to test if the issue in 953938 was related to the parser or the printer. As it's fixed now, we don't need it anymore. --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e1b68b1..c031f48 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,8 +96,6 @@ fn main() { let mut tokens = TokenStream::from(source); let expr = parse_expression(&mut tokens, 0); eprintln!("{:?}", expr); - // let expr = Some(Expression::Binary(Token::Plus, box Expression::Literal(Token::IntegerLiteral(OffsetStr::from("42"))), box Expression::Unary(Token::Plus, box Expression::Literal(Token::IntegerLiteral(OffsetStr::from("22")))))); - // eprintln!("{:?}", expr); match output_pretty { Some("dot" | "graphdotviz") => expr.then(|e| {