mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-11 06:08:03 +00:00
Formatter: Remove unnecessary group
(#8455)
This commit is contained in:
parent
d04d964ace
commit
f16505d885
2 changed files with 1 additions and 24 deletions
|
@ -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()
|
||||
]
|
||||
)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue