Function pear::parsers::eat_slice

source ·
pub fn eat_slice<I, S>(input: &mut Pear<I>, slice: S) -> Result<I::Slice, I>where
    I: Input,
    S: Slice<I>,
Expand description

Eats the current slice if it is slice.