Formatter: Remove unnecessary group (#8455)

This commit is contained in:
Micha Reiser 2023-11-03 13:14:29 +09:00 committed by GitHub
parent d04d964ace
commit f16505d885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 24 deletions

View file

@ -62,7 +62,7 @@ impl FormatNodeRule<ParameterWithDefault> for FormatParameterWithDefault {
token("="),
(!needs_line_break).then_some(space),
needs_line_break.then_some(hard_line_break()),
group(&default.format())
default.format()
]
)?;
}