time::parsing::combinator

Function zero_or_more

source
pub(crate) fn zero_or_more<'a, P: Fn(&'a [u8]) -> Option<ParsedItem<'a, ()>>>(
    parser: P,
) -> impl FnMut(&'a [u8]) -> ParsedItem<'a, ()>
Expand description

Consume zero or more instances of the provided parser. The parser must return the unit value.