Function monch::with_failure_input
source · pub fn with_failure_input<'a, O>(
new_input: &'a str,
combinator: impl Fn(&'a str) -> ParseResult<'a, O>
) -> impl Fn(&'a str) -> ParseResult<'a, O>
Expand description
Changes the input on a failure in order to provide a better error message.