Do not print braces again print_anon_const already does it

This commit is contained in:
Santiago Pastorino 2020-10-19 16:26:13 -03:00
parent f90e617305
commit 9dd0bb6fbc
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF
1 changed files with 0 additions and 2 deletions

View File

@ -1138,9 +1138,7 @@ impl<'a> State<'a> {
fn print_expr_anon_const(&mut self, anon_const: &hir::AnonConst) {
self.ibox(INDENT_UNIT);
self.s.word_space("const");
self.s.word("{");
self.print_anon_const(anon_const);
self.s.word("}");
self.end()
}