chomp_while0

Function 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.