|
|
Log in / Subscribe / Register

Rust's for-loop construct probably changed

Rust's for-loop construct probably changed

Posted Jul 4, 2013 10:54 UTC (Thu) by cmrx64 (guest, #89304)
In reply to: Rust's for-loop construct probably changed by djc
Parent article: Philosophy and "for" loops — more from Go and Rust

The `for` semantics have *not* been changed yet. 0.7 marks the introduction of robust external iterators (which are a much different style than the internal iterators discussed here, and much more easier to use). The `for` semantics will change, but they have not.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds