mut didn't help.

This commit is contained in:
Tom Alexander 2022-11-26 19:41:33 -05:00
parent d3b49a6835
commit 0fb523e0fe
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 4 additions and 4 deletions

View File

@ -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>> {