Remove some unnecessary ampersands in the formatter (#6667)

This commit is contained in:
Charlie Marsh 2023-08-18 00:18:26 -04:00 committed by GitHub
parent 8e18f8018f
commit 3ceb6fbeb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 13 deletions

View file

@ -153,8 +153,8 @@ impl<'ast> Format<PyFormatContext<'ast>> for FormatParenthesized<'_, 'ast> {
let inner = format_with(|f| {
group(&format_args![
text(self.left),
&dangling_open_parenthesis_comments(self.comments),
&soft_block_indent(&Arguments::from(&self.content)),
dangling_open_parenthesis_comments(self.comments),
soft_block_indent(&Arguments::from(&self.content)),
text(self.right)
])
.fmt(f)