Blindly followed the compiler's advice and it solved the build error.

This commit is contained in:
Tom Alexander 2022-12-03 23:17:19 -05:00
parent 8ae942a6fc
commit b15f299de8
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 3 additions and 3 deletions

View File

@ -45,12 +45,12 @@ fn context_many_till<'r, I, O, E, F, M, T>(
context: Context<'r>,
mut many_matcher: M,
mut till_matcher: T,
) -> impl FnMut(I) -> IResult<I, (Vec<O>, F), E>
) -> impl FnMut(I) -> IResult<I, (Vec<O>, F), E> + 'r
where
I: Clone + InputLength,
E: ParseError<I>,
M: Fn(Context<'r>, I) -> IResult<I, O, E>,
T: Fn(Context<'r>, I) -> IResult<I, F, E>,
M: Fn(Context<'r>, I) -> IResult<I, O, E> + 'r,
T: Fn(Context<'r>, I) -> IResult<I, F, E> + 'r,
{
move |mut i: I| {
let mut ret = Vec::new();