aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-10-09 11:47:53 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-10-09 11:47:53 +0200
commit81080812777c7a1998f579908f159e383e3c9a31 (patch)
treeff42a8861af397a1fa1e76335106fa0a719fc9c1 /askama_derive
parentf230c78926a63407f96ddb0ab83d6817d293649b (diff)
downloadaskama-81080812777c7a1998f579908f159e383e3c9a31.tar.gz
askama-81080812777c7a1998f579908f159e383e3c9a31.tar.bz2
askama-81080812777c7a1998f579908f159e383e3c9a31.zip
Remove use of deprecated nom macro
Diffstat (limited to 'askama_derive')
-rw-r--r--askama_derive/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs
index eaa4b62..7769ed4 100644
--- a/askama_derive/src/parser.rs
+++ b/askama_derive/src/parser.rs
@@ -808,7 +808,7 @@ named_args!(block_node<'a>(s: &'a Syntax<'a>) <Input<'a>, Node<'a>>, do_parse!(
named_args!(block_comment<'a>(s: &'a Syntax<'a>) <Input<'a>, Node<'a>>, do_parse!(
call!(tag_comment_start, s) >>
pws: opt!(tag!("-")) >>
- inner: take_until_s!(s.comment_end) >>
+ inner: take_until!(s.comment_end) >>
call!(tag_comment_end, s) >>
(Node::Comment(WS(pws.is_some(), inner.len() > 1 && inner[inner.len() - 1] == b'-')))
));