Skip to content

Commit

Permalink
Fix trailing comma not inserted by rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 2, 2025
1 parent 417ff92 commit 505ab00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub(crate) fn requires_comma_to_be_match_arm(expr: &Expr) -> bool {
| Expr::Tuple(_)
| Expr::Unary(_)
| Expr::Yield(_)
| Expr::Verbatim(_) => true
| Expr::Verbatim(_) => true,
}
}

Expand Down

0 comments on commit 505ab00

Please sign in to comment.