Function winnow::combinator::todo

source ·
pub fn todo<I, O, E>(input: &mut I) -> PResult<O, E>
where I: 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)
}