On 3/23/14 9:04 AM, Clark Gaebel wrote:
I think the biggest case for gotos is jumping out of nested loops. Does rust have a nice way of doing that yet?
There's labeled break and continue. Use `'foo:` to denote a label. (The reason that we use lifetime syntax there is that eventually it may be possible to denote lifetimes explicitly using labels.)
Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev