"lack of a semicolon after the last stmnt in block gives the whole block the value of that last expr" Why not always last expr? @rustlang
@wanderview Makes it more consistent — ';' always means "returns ()". (I proposed changing this once and everyone favored Rust's behavior.)
-
-
@pcwalton Yes, that is a simple rule to remember. Also, seems more necessary/useful after I saw the type requirement for multiple if arms.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@pcwalton But my first impression was it would be error prone for the developer. Thanks for the reply!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.