News for hackers. Stuff that matters.
Re:Rust severely disappoints me by sinistersnare on Friday January 13, 2017 @03:19AM (#13389266)
You can say `return 42;` and it will return 42 as expected.

Rust doesn't require parens in an if expression because it requires brackets. You could silence the warning and use parens though.

There are no comments on this comment yet.