Add flag to the ListFormatting struct for nested imports
This commit is contained in:
parent
2077855e00
commit
ee5ff2d9e8
12 changed files with 20 additions and 1 deletions
|
|
@ -1338,6 +1338,7 @@ pub fn rewrite_multiple_patterns(
|
|||
shape,
|
||||
ends_with_newline: false,
|
||||
preserve_newline: false,
|
||||
nested: false,
|
||||
config: context.config,
|
||||
};
|
||||
write_list(&items, &fmt)
|
||||
|
|
@ -1902,6 +1903,7 @@ where
|
|||
shape,
|
||||
ends_with_newline: false,
|
||||
preserve_newline: false,
|
||||
nested: false,
|
||||
config: context.config,
|
||||
};
|
||||
let list_str = write_list(&item_vec, &fmt)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue