aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs
index 27a9ed0..c4cb52d 100644
--- a/askama_derive/src/parser.rs
+++ b/askama_derive/src/parser.rs
@@ -296,6 +296,7 @@ named!(target_tuple<Input, Target>, do_parse!(
res
})
)) >>
+ opt!(ws!(tag!(","))) >>
tag!(")") >>
(Target::Tuple(args.unwrap_or_default()))
));