On 06/09/2012 02:24 PM, Gareth Smith wrote:
As I understand it, given point 2 of the proposal, the above code would not be valid. Instead it would look like:spawn(|| { ... }); Is that correct? If so, would the semantics of the directly above be identical to: do spawn { ... } ?
Yes, except that continue/break/ret would be valid in the latter but not the former.
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
