Function combine::combinator::or [] [src]

pub fn or<P1, P2>(p1: P1, p2: P2) -> Or<P1, P2> where
    P1: Parser,
    P2: Parser<Input = P1::Input, Output = P1::Output>, 

Equivalent to p1.or(p2).

If you are looking to chain 3 or more parsers using or you may consider using the [choice!] macro instead, which can be clearer and may result in a faster parser.