Fix shape in rewrite_tuple_in_visual_indent_style
This commit is contained in:
parent
098a5391f0
commit
6a029974de
@ -1753,7 +1753,7 @@ where
|
||||
Separator::Comma,
|
||||
nested_shape.width,
|
||||
);
|
||||
let fmt = ListFormatting::new(shape, context.config)
|
||||
let fmt = ListFormatting::new(nested_shape, context.config)
|
||||
.tactic(tactic)
|
||||
.ends_with_newline(false);
|
||||
let list_str = write_list(&item_vec, &fmt)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user