On 6/12/12 7:45 PM, Graydon Hoare wrote:
> I guess we could make the arm-parser assume _ as a pattern, if it sees
> an 'if' token there where it's expecting a pattern, letting you strip
> that part. Then you'd get:
>
> alt () {
> if f() { ... }
> if g() { ... }
> _ { ... }
> }
>
> Good enough?I believe it is. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
