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, ()>>
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.