[][src]Function pear::parsers::eat_slice

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

Eats the current slice if it is slice.