On 4/9/13 10:31 AM, [email protected] wrote:
This for is useful in algorithmically-intensive code where a lot of
variables are declared at the top level. Matrix algorithms come to
mind. I don't think it's a frequent use case but it's very useful
when it arises.

Keep in mind that you can use destructuring tuples:

    let (x, y) = (1, 2);

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to