News for hackers. Stuff that matters.
Re:A taste of Rust by steveklabnik on Thursday April 25, 2013 @01:19PM (#5608512)
Currently, lines with and without semicolons have different semantics, so that doesn't work.

> Basically, ending an expression in Rust with a semicolon ignores the value of that expression. This is kinda weird. I don't know how I feel about it. But it is something you should know about.

http://www.rustforrubyists.com/book/chapter-06.html

Re:A taste of Rust by Dewie on Thursday April 25, 2013 @01:36PM (#5608635)
You could still make braces optional though, right?
Re:A taste of Rust by steveklabnik on Thursday April 25, 2013 @01:48PM (#5608716)
You could do whatever you want. The idea is that `rustc --pretty` reformats code, so you could make the input flexible enough to be whatever you want, really. Or write your own transpiler.