Call pattern formatting (#6594)

This commit is contained in:
Micha Reiser 2023-08-16 05:01:25 +02:00 committed by GitHub
parent 9bf6713b76
commit 897cce83b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 473 additions and 330 deletions

View file

@ -51,11 +51,11 @@ impl FormatNodeRule<StmtMatch> for FormatStmtMatch {
write!(
f,
[block_indent(&format_args!(
&leading_alternate_branch_comments(
leading_alternate_branch_comments(
comments.leading_comments(case),
last_case.body.last(),
),
&case.format()
case.format()
))]
)?;
last_case = case;