Rust concepts

Rust · Iteration

Rust Iteration puzzles

7 Rust puzzles on iteration. Read the snippet, guess the output, then reveal the answer and why Rust behaves that way.