aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/node.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-07-03 09:52:49 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-07-31 10:27:15 +0200
commit8d8391543c2bcc2f6b2f4cef407f1216c99183d2 (patch)
tree5cd9db16755af1566b67cc5d9a7f36137a912160 /askama_parser/src/node.rs
parentc5174eb82986026382286f7e4028b2fed49edf5e (diff)
downloadaskama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.tar.gz
askama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.tar.bz2
askama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.zip
parser: flatten top-level Expr interface
Diffstat (limited to 'askama_parser/src/node.rs')
-rw-r--r--askama_parser/src/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_parser/src/node.rs b/askama_parser/src/node.rs
index 8f07a43..4e916fc 100644
--- a/askama_parser/src/node.rs
+++ b/askama_parser/src/node.rs
@@ -96,7 +96,7 @@ impl<'a> Node<'a> {
cut(tuple((
opt(tuple((ws(identifier), ws(tag("::"))))),
ws(identifier),
- opt(ws(Expr::parse_arguments)),
+ opt(ws(Expr::arguments)),
opt(Whitespace::parse),
))),
));