pub fn uncons_while1<Input, F>(
input: &mut Input,
predicate: F,
) -> ParseResult<Input::Range, Input::Error>
Expand description
Takes items from stream, testing each one with predicate
returns a range of at least one items which passed predicate
.
ยงNote
This may not return PeekOk
as it should uncons at least one token.