From 04af25d39dea03e95bf2477e9f5abab59737c78b Mon Sep 17 00:00:00 2001 From: Nokome Bentley Date: Sat, 11 May 2024 12:58:05 -0700 Subject: [PATCH] fix(parser): remove `println!` uses These seem to be left over debug statements and cause issues when attempting to consume `stdout` of a binary using this library. --- layout/src/gv/parser/parser.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/layout/src/gv/parser/parser.rs b/layout/src/gv/parser/parser.rs index 96f8e19..34977f1 100644 --- a/layout/src/gv/parser/parser.rs +++ b/layout/src/gv/parser/parser.rs @@ -166,7 +166,6 @@ impl DotParser { Result::Ok(ns) } _ => { - println!("{:?}", self.tok); to_error("Unsupported token") } } @@ -205,7 +204,6 @@ impl DotParser { } _ => { - println!("{:?}", self.tok); to_error("Unknown token") } }