Function lip::chomp_ifc [−][src]
pub fn chomp_ifc<'a, F: 'a, S: Clone + 'a>(
predicate: F,
expecting: &'a str
) -> BoxedParser<'a, (), S> where
F: Fn(&char) -> bool,
Expand description
Chomp one character if it passes the test.