Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6a02997

Browse files
committed
Fix shape in rewrite_tuple_in_visual_indent_style
1 parent 098a539 commit 6a02997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ where
17531753
Separator::Comma,
17541754
nested_shape.width,
17551755
);
1756-
let fmt = ListFormatting::new(shape, context.config)
1756+
let fmt = ListFormatting::new(nested_shape, context.config)
17571757
.tactic(tactic)
17581758
.ends_with_newline(false);
17591759
let list_str = write_list(&item_vec, &fmt)?;

0 commit comments

Comments
 (0)