Function monch::pair

source ·
pub fn pair<'a, First, Second>(
    first: impl Fn(&'a str) -> ParseResult<'a, First>,
    second: impl Fn(&'a str) -> ParseResult<'a, Second>
) -> impl Fn(&'a str) -> ParseResult<'a, (First, Second)>
Expand description

Returns both results of the two combinators.