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