becomes valid if u wrap in parenthesis: `(if true { 1 } else { 2 }) | 33;`
-
-
-
Yup, because then it's no longer something that might be an implicit statement.
End of conversation
New conversation -
-
-
Related: if true { 1 } else { 0 }.foo(); is fine. The if becomes an expression rather than a stmt if the token after it is a '.' or '?'
-
Yep, all the postfix operators (`as`, `..`, etc.) seem to be cool after the statement-ish expressions.
End of conversation
New conversation -
-
-
valid Rust: http://bit.ly/2uUe9Hb suddenly closures: http://bit.ly/2vdyVgk
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.