J
jeremy
Video
Iterator-Based For Loops in Rust
In Rust, all `for` loops operate over an iterator rather than an index-based sequence: any expression that produces an iterator (such as a range or a collection's `.iter()` call) can drive a `for` lo…