fix: call arg should be top level
This commit is contained in:
parent
7118253401
commit
2ed91780f4
|
@ -1578,7 +1578,7 @@ impl<'comments> Formatter<'comments> {
|
|||
| UntypedExpr::Sequence { .. }
|
||||
| UntypedExpr::Assignment { .. } => "{"
|
||||
.to_doc()
|
||||
.append(line().append(self.expr(expr, false)).nest(INDENT))
|
||||
.append(line().append(self.expr(expr, true)).nest(INDENT))
|
||||
.append(line())
|
||||
.append("}")
|
||||
.force_break(),
|
||||
|
|
Loading…
Reference in New Issue