Function aoc_parse::macros::alt

source ·
pub fn alt<A, B, T>(
    left: A,
    right: B
) -> MapParser<EitherParser<A, B>, fn(_: Either<T, T>) -> T>where
    A: for<'parse, 'source> Parser<'parse, 'source, Output = T>,
    B: for<'parse, 'source> Parser<'parse, 'source, Output = T>,