Skip to content

Commit

Permalink
chapter17: don't print region id
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertObkircher committed Jan 20, 2025
1 parent 0b0fede commit 809f655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sea_of_nodes/nodes/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Display for PrintNodes2<'_, '_, '_> {
}
write!(f, ")")
}
n @ Op::Region { .. } | n @ Op::Loop => write!(f, "{}{}", n.label(), node.index()),
n @ Op::Region { .. } | n @ Op::Loop => write!(f, "{}", n.label()),
Op::Stop => {
if let ret @ Some(_) = node.unique_input(sea) {
write!(f, "{}", print(ret))
Expand Down

0 comments on commit 809f655

Please sign in to comment.