Function time::parsing::combinator::one_or_more
source · pub(crate) fn one_or_more<'a, P: Fn(&'a [u8]) -> Option<ParsedItem<'a, ()>>>(
parser: P
) -> impl Fn(&'a [u8]) -> Option<ParsedItem<'a, ()>>
Available on crate feature
parsing
only.Expand description
Consume one of or more instances of the provided parser. The parser must produce the unit value.