Skip to content

Commit 9dd0bb6

Browse files
committed
Do not print braces again print_anon_const already does it
1 parent f90e617 commit 9dd0bb6

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_hir_pretty/src

1 file changed

+0
-2
lines changed

compiler/rustc_hir_pretty/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,9 +1138,7 @@ impl<'a> State<'a> {
11381138
fn print_expr_anon_const(&mut self, anon_const: &hir::AnonConst) {
11391139
self.ibox(INDENT_UNIT);
11401140
self.s.word_space("const");
1141-
self.s.word("{");
11421141
self.print_anon_const(anon_const);
1143-
self.s.word("}");
11441142
self.end()
11451143
}
11461144

0 commit comments

Comments
 (0)