4 ms·
I kinda want to see Rust without braces or semicolons, although I'm not sure what you'd do with implicit return.
by comex 13y ago
I kinda want to see Rust without braces or semicolons, although I'm not sure what you'd do with implicit return.
- Araq 13y agoNimrod solved that... The solution in a nutshell: If a statement list contains a 'return', it enforces a 'void' context for the statement list, otherwise the statement list has the type of the tailing expression e in (s; s; e).