[rust-dev] Brace-free if and alt

Florian Weimer fw at deneb.enyo.de
Wed Apr 11 22:46:03 PDT 2012


* Patrick Walton:

> 	// after:
> 	if foo() == "bar" then 10 else 20

This paves the way to:

        if foo() == "bar" then
          f();
          g();

I expect that if braces are optional, some users will want an option
to make them mandatory again.


More information about the Rust-dev mailing list