pub fn uncons_while<Input, F>(
input: &mut Input,
predicate: F,
) -> ParseResult<Input::Range, Input::Error>
Expand description
Removes items from the input while predicate
returns true
.
pub fn uncons_while<Input, F>(
input: &mut Input,
predicate: F,
) -> ParseResult<Input::Range, Input::Error>
Removes items from the input while predicate
returns true
.