Skip to content

Commit 11b719d

Browse files
committed
Join whitespaces for make::block_expr
1 parent 9006fee commit 11b719d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

crates/syntax/src/ast/make.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,10 @@ pub fn block_expr(
541541
quote! {
542542
BlockExpr {
543543
StmtList {
544-
['{'] "\n"
545-
#(" " #stmts "\n")*
546-
#(" " #tail_expr "\n")*
544+
['{']
545+
#("\n " #stmts)*
546+
#("\n " #tail_expr)*
547+
"\n"
547548
['}']
548549
}
549550
}

0 commit comments

Comments
 (0)