Remember when I was joking to make everything an expression? I backed off the idea, because there is not much advantage. Rust, however, Rust didn't care. They did it. Those madman. Now we can finally return from a function inside an if: fn f() -> i32 { if return 5 {} }
-
-
Ah good to know, thanks. I did misunderstand the compiler then!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.