TIL in @rustlang you can do
let foo(x) = bar();
without it needing to be in
if let foo(x) = bar() {
// Do stuff with x
}
Neat!
-
-
Nice explanation
@rustlang +1Thanks. 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.