Hello, Le 22 déc. 2013 à 18:59, Stefan Plantikow <stefan.planti...@gmail.com> a écrit :
> Hi, > > Am 22.12.2013 um 16:47 schrieb Gábor Lehel <glaebho...@gmail.com>: > > This is a nice idea. At first I thought it wouldn’t work with `if` but in > expressions `if` requires `else` so the grammar wouldn’t be ambiguous: > No, it doesn't. As long as the if's "true block" returns unit. let foo = if ... { }; is perfectly legal, even it doesn't make much sense in practice. Leo
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev