> This is an even sillier idea, but then what about keeping `loop` and
dropping `while`?

I'm not sure this is possible to disambiguate in the grammar. You'd have to
be able to tell the difference between the infinite form:

    loop <block>

...and the conditional form:

    loop <expr> <block>

...while keeping in mind that <expr> can also be a <block>.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to