Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I kinda want to see Rust without braces or semicolons, although I'm not sure what you'd do with implicit return.


Nimrod 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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: