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>> {
|
fn partial_quoted_tag(i: &str) -> IResult<&str, Vec<TemplateElement>> {
|
||||||
// TODO: make all consuming
|
all_consuming(many1(alt((
|
||||||
many1(alt((
|
|
||||||
map(span, TemplateElement::TESpan),
|
map(span, TemplateElement::TESpan),
|
||||||
map(map(reference, DustTag::DTReference), TemplateElement::TETag),
|
map(map(reference, DustTag::DTReference), TemplateElement::TETag),
|
||||||
)))(i)
|
))))(i)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn partial_with_quoted_tag<'a>(
|
fn partial_with_quoted_tag<'a>(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user