mut didn't help.
This commit is contained in:
parent
d3b49a6835
commit
0fb523e0fe
@ -37,12 +37,12 @@ use tracing::trace;
|
||||
|
||||
fn context_many_till<
|
||||
'r,
|
||||
M: for<'s> Fn(&'s str) -> IResult<&'s str, TextElement<'s>, VerboseError<&'s str>>,
|
||||
T: for<'s> Fn(&'s str) -> IResult<&'s str, &'s str, VerboseError<&'s str>>,
|
||||
M: for<'s> FnMut(&'s str) -> IResult<&'s str, TextElement<'s>, VerboseError<&'s str>>,
|
||||
T: for<'s> FnMut(&'s str) -> IResult<&'s str, &'s str, VerboseError<&'s str>>,
|
||||
>(
|
||||
context: &'r OrgModeContextNode<'r>,
|
||||
many_matcher: M,
|
||||
till_matcher: T,
|
||||
mut many_matcher: M,
|
||||
mut till_matcher: T,
|
||||
) -> impl for<'s> FnMut(
|
||||
&'s str,
|
||||
) -> IResult<&'s str, (Vec<TextElement<'s>>, &'s str), VerboseError<&'s str>> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user