Function monch::preceded

source ·
pub fn preceded<'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, Second>
Expand description

Returns the second value and discards the first.