Remove some trailing commas in write calls (#6666)

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

View file

@ -61,7 +61,7 @@ impl FormatNodeRule<ExprBoolOp> for FormatExprBoolOp {
)?;
}
write!(f, [op.format(), space(),])?;
write!(f, [op.format(), space()])?;
FormatValue { value }.fmt(f)?;
}

View file

@ -943,7 +943,7 @@ pub(crate) fn write_suppressed_clause_header(
[verbatim_text(
header.range(f.context().source())?,
ContainsNewlines::Detect
),]
)]
)?;
let comments = f.context().comments();