4 ms·
My favorite thing about rust is how it encourages you to keep `return` at the end of your function. `return` is one of the most annoying syntax elements to me b
by ChadNauseam 4y ago
My favorite thing about rust is how it encourages you to keep `return` at the end of your function. `return` is one of the most annoying syntax elements to me because you mostly don't need it, and it kind of has "side effects" in a way that's not obviously visible in the structure of the function.
- throwaway2j94 4y agoThey are expressions in rust fn main() { let () = return (); }