about summary refs log tree commit diff
path: root/src/expr.rs
diff options
context:
space:
mode:
authorJosh Chase <josh@jec.pw>2018-06-19 11:28:58 -0400
committerJosh Chase <josh@jec.pw>2018-06-19 12:13:35 -0400
commitee5ff2d9e8f2fcf7ef8ceefc5de78e5439ed7a21 (patch)
tree4e6cdcbe95ceda0bc3839d69912317fd41288819 /src/expr.rs
parent2077855e000210be5c89f4d7e17e495122686b28 (diff)
Add flag to the ListFormatting struct for nested imports
Diffstat (limited to 'src/expr.rs')
-rw-r--r--src/expr.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.rs b/src/expr.rs
index 112383e7e4c..0c2716a2dba 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -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)?;