Update ArgumentsParentheses usage (#6070)

This commit is contained in:
Chris Pryer 2023-07-25 12:03:48 -04:00 committed by GitHub
parent 5f63b8bfb8
commit f5c69c1b34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 6 deletions

View file

@ -27,8 +27,7 @@ impl FormatNodeRule<ExprLambda> for FormatExprLambda {
f,
[
space(),
args.format()
.with_options(ArgumentsParentheses::SkipInsideLambda),
args.format().with_options(ArgumentsParentheses::Never),
]
)?;
}