1
Fork 0

hir pretty: fix block indent

This commit is contained in:
Nilstrieb 2024-05-15 20:18:22 +02:00
parent b21b74b5e6
commit 7b1527ff5f
9 changed files with 53 additions and 53 deletions

View file

@ -1454,7 +1454,7 @@ impl<'a> State<'a> {
self.word_space(":");
}
// containing cbox, will be closed by print-block at `}`
self.cbox(INDENT_UNIT);
self.cbox(0);
// head-box, will be closed by print-block after `{`
self.ibox(0);
self.print_block(blk);