> for <name> : <expr> { ... }

-1. The `:` symbol is already hugely overloaded, and it's less readable to boot.

I think `for <name> : <expr> { ... }` reads a lot like `for <name> *of type* <expr> { ... }`, which doesn't make much sense.

`for <pattern> in <expr> { ... }`, on the other hand, looks very nice.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to