pub fn log_result<'a, O: Debug>(
prefix: &'static str,
combinator: impl Fn(&'a str) -> ParseResult<'a, O>,
) -> impl Fn(&'a str) -> ParseResult<'a, O>Expand description
Logs the result for quick debugging purposes.
pub fn log_result<'a, O: Debug>(
prefix: &'static str,
combinator: impl Fn(&'a str) -> ParseResult<'a, O>,
) -> impl Fn(&'a str) -> ParseResult<'a, O>Logs the result for quick debugging purposes.