Skip to content

Commit c084fcf

Browse files
committed
hir pretty: fix block indent
1 parent b21b74b commit c084fcf

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_pretty/src

1 file changed

+1
-1
lines changed

compiler/rustc_hir_pretty/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ impl<'a> State<'a> {
14541454
self.word_space(":");
14551455
}
14561456
// containing cbox, will be closed by print-block at `}`
1457-
self.cbox(INDENT_UNIT);
1457+
self.cbox(0);
14581458
// head-box, will be closed by print-block after `{`
14591459
self.ibox(0);
14601460
self.print_block(blk);

0 commit comments

Comments
 (0)