On 10/21/2011 05:58 AM, Marijn Haverbeke wrote:
(The reason it only recognizes expressions in statement position---at
the top level of an outer block---is that this way, you don't need to
terminate a block call with a semicolon. When using higher-order
functions in a way that returns a value, you'll have to put the block
inside the parentheses as before.)
This seems to make the feature not very useful. Is there a way we can get around this limitation?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to