chomp_while1

Function chomp_while1 

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

Chomp one or more graphemes if they pass the test.