Function winnow::combinator::todo

source ·
pub fn todo<Input, Output, Error>(input: &mut Input) -> PResult<Output, Error>
where Input: Stream,
Expand description

A placeholder for a not-yet-implemented Parser

This is analogous to the todo! macro and helps with prototyping.

Panic

This will panic when parsing

Example


fn parser(input: &mut &str) -> PResult<u64> {
    todo(input)
}