Skip to content

Commit 802d909

Browse files
committed
remove explanatory comment in trailing-comma fix
1 parent 2e72c97 commit 802d909

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/generation/generate.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7618,10 +7618,6 @@ where
76187618
items.push_signal(Signal::SpaceIfNotTrailing);
76197619
}
76207620
items.push_condition(conditions::indent_if_start_of_line(generated_node));
7621-
// When the arrow's expression body forced the call onto multiple lines and
7622-
// the trailing-comma configuration is `always`, emit the trailing comma
7623-
// before the closing paren (issue #696). `onlyMultiLine` historically did
7624-
// not emit a comma here, so preserve that behavior to avoid churn.
76257621
let trailing_break_items = {
76267622
let mut break_items = PrintItems::new();
76277623
if matches!(trailing_commas, TrailingCommas::Always) {

0 commit comments

Comments
 (0)