1
Fork 0

Add leave_last field to ListItems

This commit is contained in:
topecongiro 2017-08-07 17:29:55 +09:00
parent f9239dd630
commit be38606c77
8 changed files with 25 additions and 1 deletions

View file

@ -241,6 +241,7 @@ fn rewrite_segment(
|seg| seg.rewrite(context, generics_shape),
list_lo,
span_hi,
false,
);
let generics_str = try_opt!(format_generics_item_list(
context,
@ -344,6 +345,7 @@ where
},
list_lo,
span.hi,
false,
);
let item_vec: Vec<_> = items.collect();