Allow optional trailing comma in tuple parser
diff --git a/src/expr.rs b/src/expr.rs
index 4206e37..a6f94fc 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -1712,7 +1712,7 @@
outer_attrs: many0!(Attribute::parse_outer) >>
e: parens!(tuple!(
many0!(Attribute::parse_inner),
- syn!(Expr)
+ syn!(Expr),
)) >>
(ExprParen {
attrs: {
@@ -1736,7 +1736,7 @@
outer_attrs: many0!(Attribute::parse_outer) >>
elems: brackets!(tuple!(
many0!(Attribute::parse_inner),
- call!(Punctuated::parse_terminated)
+ call!(Punctuated::parse_terminated),
)) >>
(ExprArray {
attrs: {
@@ -1765,7 +1765,7 @@
punct!(::),
punct!(<),
call!(Punctuated::parse_terminated),
- punct!(>)
+ punct!(>),
)) >>
args: parens!(Punctuated::parse_terminated) >>
({
@@ -1806,7 +1806,7 @@
outer_attrs: many0!(Attribute::parse_outer) >>
elems: parens!(tuple!(
many0!(Attribute::parse_inner),
- call!(Punctuated::parse_terminated)
+ call!(Punctuated::parse_terminated),
)) >>
(ExprTuple {
attrs: {
@@ -1911,7 +1911,7 @@
expr: expr_no_struct >>
block: braces!(tuple!(
many0!(Attribute::parse_inner),
- call!(Block::parse_within)
+ call!(Block::parse_within),
)) >>
(ExprForLoop {
attrs: {
@@ -1944,7 +1944,7 @@
loop_: keyword!(loop) >>
block: braces!(tuple!(
many0!(Attribute::parse_inner),
- call!(Block::parse_within)
+ call!(Block::parse_within),
)) >>
(ExprLoop {
attrs: {
@@ -1974,7 +1974,7 @@
obj: expr_no_struct >>
braced_content: braces!(tuple!(
many0!(Attribute::parse_inner),
- many0!(syn!(Arm))
+ many0!(syn!(Arm)),
)) >>
(ExprMatch {
attrs: {
@@ -2127,7 +2127,7 @@
cond: expr_no_struct >>
block: braces!(tuple!(
many0!(Attribute::parse_inner),
- call!(Block::parse_within)
+ call!(Block::parse_within),
)) >>
(ExprWhile {
attrs: {
@@ -2162,7 +2162,7 @@
value: expr_no_struct >>
block: braces!(tuple!(
many0!(Attribute::parse_inner),
- call!(Block::parse_within)
+ call!(Block::parse_within),
)) >>
(ExprWhileLet {
attrs: {
@@ -2334,7 +2334,7 @@
many0!(Attribute::parse_inner),
syn!(Expr),
punct!(;),
- syn!(Expr)
+ syn!(Expr),
)) >>
(ExprRepeat {
attrs: {
@@ -2377,7 +2377,7 @@
outer_attrs: many0!(Attribute::parse_outer) >>
block: braces!(tuple!(
many0!(Attribute::parse_inner),
- call!(Block::parse_within)
+ call!(Block::parse_within),
)) >>
(ExprBlock {
attrs: {