Function lip::chomp_while0

source ·
pub fn chomp_while0<'a, F, S: Clone + 'a>(
    predicate: F,
    expecting: &'a str
) -> impl Parser<'_, Output = (), State = S>where
    F: Fn(&'a str) -> bool + 'a,
Expand description

Chomp zero or more graphemes if they pass the test.