chomp_ifc

Function chomp_ifc 

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

Chomp one character if it passes the test.