From 6861ad07aff4d281be644eefc4ef95e246dead68 Mon Sep 17 00:00:00 2001 From: Nicolas Abril Date: Tue, 28 May 2024 14:05:19 +0200 Subject: [PATCH] Fix printing of "!" in redexes --- src/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ast.rs b/src/ast.rs index 3d4e890b..a21dd9c4 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -316,8 +316,8 @@ impl Net { pub fn show(&self) -> String { let mut s = self.root.show(); for (par, fst, snd) in &self.rbag { - s.push_str(" & "); - s.push_str(if *par { "!" } else { "" }); + s.push_str(" &"); + s.push_str(if *par { "!" } else { " " }); s.push_str(&fst.show()); s.push_str(" ~ "); s.push_str(&snd.show());