Add flag to the ListFormatting struct for nested imports

This commit is contained in:
Josh Chase 2018-06-19 11:28:58 -04:00
parent 2077855e00
commit ee5ff2d9e8
12 changed files with 20 additions and 1 deletions

View file

@ -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)?;