minor cleanup.
This commit is contained in:
parent
93f9581d8a
commit
5ddeeac966
@ -548,11 +548,10 @@ fn partial_with_plain_tag<'a>(
|
||||
}
|
||||
|
||||
fn partial_quoted_tag(i: &str) -> IResult<&str, Vec<TemplateElement>> {
|
||||
// TODO: make all consuming
|
||||
many1(alt((
|
||||
all_consuming(many1(alt((
|
||||
map(span, TemplateElement::TESpan),
|
||||
map(map(reference, DustTag::DTReference), TemplateElement::TETag),
|
||||
)))(i)
|
||||
))))(i)
|
||||
}
|
||||
|
||||
fn partial_with_quoted_tag<'a>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user