Function monch::substring

source ·
pub fn substring<'a, O>(
    combinator: impl Fn(&'a str) -> ParseResult<'a, O>
) -> impl Fn(&'a str) -> ParseResult<'a, &'a str>
Expand description

Gets the substring found for the duration of the combinator.