Skip to content

Commit

Permalink
sub_width has no impact on tests, also removing
Browse files Browse the repository at this point in the history
  • Loading branch information
IVIURRAY committed Jan 4, 2024
1 parent f90c65f commit a4a18d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ impl<'a> FmtVisitor<'a> {
items = itemize_list_with(0);
}

let shape = self.shape().sub_width(2)?;
let shape = self.shape();
let fmt = ListFormatting::new(shape, self.config)
.trailing_separator(self.config.trailing_comma())
.preserve_newline(true);
Expand Down

0 comments on commit a4a18d3

Please sign in to comment.