News for hackers. Stuff that matters.
Re:Things Rust shipped without by jnordwick on Saturday July 04, 2015 @03:15AM (#9829517)
compromise. Make return very short, like a unary colon ":".

Then "foo.map(|x| :x+1)" is nice. If that doesn't stand out enough for some people on a line of its own, make your editor render the unary colon line in a very bold color for you.

Re:Things Rust shipped without by eddyb on Saturday July 04, 2015 @03:48AM (#9829576)
That doesn't solve the fact that blocks and conditional control flow (if/else and match) are expressions and need a way to produce values.