time::parsing::combinator

Function 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, ()>>
Expand description

Consume one of or more instances of the provided parser. The parser must produce the unit value.