Blindly followed the compiler's advice and it solved the build error.
This commit is contained in:
parent
8ae942a6fc
commit
b15f299de8
@ -45,12 +45,12 @@ fn context_many_till<'r, I, O, E, F, M, T>(
|
|||||||
context: Context<'r>,
|
context: Context<'r>,
|
||||||
mut many_matcher: M,
|
mut many_matcher: M,
|
||||||
mut till_matcher: T,
|
mut till_matcher: T,
|
||||||
) -> impl FnMut(I) -> IResult<I, (Vec<O>, F), E>
|
) -> impl FnMut(I) -> IResult<I, (Vec<O>, F), E> + 'r
|
||||||
where
|
where
|
||||||
I: Clone + InputLength,
|
I: Clone + InputLength,
|
||||||
E: ParseError<I>,
|
E: ParseError<I>,
|
||||||
M: Fn(Context<'r>, I) -> IResult<I, O, E>,
|
M: Fn(Context<'r>, I) -> IResult<I, O, E> + 'r,
|
||||||
T: Fn(Context<'r>, I) -> IResult<I, F, E>,
|
T: Fn(Context<'r>, I) -> IResult<I, F, E> + 'r,
|
||||||
{
|
{
|
||||||
move |mut i: I| {
|
move |mut i: I| {
|
||||||
let mut ret = Vec::new();
|
let mut ret = Vec::new();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user