devela::_dep::winnow::combinator

Function todo

pub fn todo<Input, Output, Error>(
    input: &mut Input,
) -> Result<Output, ErrMode<Error>> 
where Input: Stream,
Available on crate feature dep_winnow only.
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)
}