Skip to content

Commit

Permalink
Add rudimentary indentation to RCST print
Browse files Browse the repository at this point in the history
  • Loading branch information
fpottbaecker committed Jan 6, 2024
1 parent be79e56 commit cdc9d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/frontend/src/rcst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl From<CstKind<()>> for Cst<()> {

impl ToRichIr for Rcst {
fn build_rich_ir(&self, builder: &mut RichIrBuilder) {
builder.push(format!("{self:?}"), None, EnumSet::empty());
builder.push(format!("{self:#?}"), None, EnumSet::empty());
}
}

Expand Down

0 comments on commit cdc9d23

Please sign in to comment.