On 12-02-29 05:11 PM, Niko Matsakis wrote:
Also, now more than ever, I think we should still prohibit explicit `break`, `cont`, and `ret` statements in sugared lambdas.
Tricky. Plausible. I've less of an opinion on this, assuming we've moved a large number of blocks back to for-loop form. Might as prohibit, see how bad it hurts.
While we're on the topic, what about changing the keyword `cont` to `next` (or `continue`, although it is long)?
'next' is ok with me. Need to collect up a summary of all these changes to a (.. the, existing?) RFC and let it stew a bit in the tracker, but I don't expect that to be too objectionable.
-Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
