Skip to content

Commit

Permalink
Fix printing of "!" in redexes
Browse files Browse the repository at this point in the history
  • Loading branch information
developedby committed May 28, 2024
1 parent 9e437c0 commit 6861ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 6861ad0

Please sign in to comment.