Allow trailing comma in use declarations
diff --git a/src/item.rs b/src/item.rs
index 840465e..dec2770 100644
--- a/src/item.rs
+++ b/src/item.rs
@@ -367,6 +367,7 @@
punct!("::") >>
punct!("{") >>
items: separated_nonempty_list!(punct!(","), path_list_item) >>
+ option!(punct!(",")) >>
punct!("}") >>
(ViewPath::List(path, items))
));
@@ -375,6 +376,7 @@
global: option!(punct!("::")) >>
punct!("{") >>
items: separated_nonempty_list!(punct!(","), path_list_item) >>
+ option!(punct!(",")) >>
punct!("}") >>
(ViewPath::List(Path {
global: global.is_some(),