diff --git a/src/generics.rs b/src/generics.rs index e1226d6..3f225b8 100644 --- a/src/generics.rs +++ b/src/generics.rs @@ -374,9 +374,9 @@ impl Printer { Expr::Block(expr) => self.expr_block(expr), _ => { - self.word("{"); - self.expr(expr); - self.word("}"); + self.cbox(INDENT); + self.expr_as_small_block(expr, 0); + self.end(); } } }