Using many_elem twice is breaking the build.
This commit is contained in:
parent
95a043deef
commit
1efe2efc41
@ -57,7 +57,7 @@ where
|
||||
{
|
||||
move |mut i: I| {
|
||||
let mut ret = Vec::new();
|
||||
let current_context = context.clone();
|
||||
let mut current_context = context.clone();
|
||||
loop {
|
||||
let len = i.input_len();
|
||||
match till_matcher(¤t_context, i.clone()) {
|
||||
@ -78,11 +78,11 @@ where
|
||||
}
|
||||
|
||||
ret.push(many_elem);
|
||||
// current_context = current_context.with_additional_node(
|
||||
// ContextElement::PreviousElementNode(PreviousElementNode {
|
||||
// element: many_elem.into(),
|
||||
// }),
|
||||
// );
|
||||
current_context = current_context.with_additional_node(
|
||||
ContextElement::PreviousElementNode(PreviousElementNode {
|
||||
element: many_elem.into(),
|
||||
}),
|
||||
);
|
||||
i = remaining;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user