Function full
pub fn full<I, O, F>(f: F) -> impl Fn(I) -> IResult<I, O>
where
I: InputLength + Clone,
F: Fn(I) -> IResult<I, O>,
ensures the child parser consumes the whole input
fullpub fn full<I, O, F>(f: F) -> impl Fn(I) -> IResult<I, O>
where
I: InputLength + Clone,
F: Fn(I) -> IResult<I, O>,
ensures the child parser consumes the whole input