Upgrade Rust toolchain to 1.83 (#14677)

This commit is contained in:
Micha Reiser
2024-11-29 13:05:05 +01:00
committed by GitHub
parent a6402fb51e
commit b63c2e126b
63 changed files with 127 additions and 127 deletions

View File

@@ -133,9 +133,7 @@ impl FormatNodeRule<ExprTuple> for FormatExprTuple {
// ```
// In all other cases comments get assigned to a list element
match elts.as_slice() {
[] => {
return empty_parenthesized("(", dangling, ")").fmt(f);
}
[] => empty_parenthesized("(", dangling, ")").fmt(f),
[single] => match self.parentheses {
TupleParentheses::Preserve if !is_parenthesized => {
single.format().fmt(f)?;