Re:A Week with Mozilla's Rust
by kibwen on Wednesday August 21, 2013 @07:27PM
(#6253995)
By leaving off the semicolon, you can make a block (which is anything in braces) evaluate to the value of its final expression. It's one of those rules that seems perfectly terrible at first blush, but actually seems to work really well in practice thanks to Rust's strong static typing.
[ Parent
| on HN ]
There are no comments on this comment yet.