Function time::parsing::combinator::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, ()>
Available on crate feature parsing only.
Expand description

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