← Back to archive

Stdle #127 · iteration · 2026-10-11

What does this Rust snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

fn main() {
let z: Vec<(i32, i32)> =
(1..=3).zip(10..=10).collect();
println!("{:?}", z);
}
Iteration
4 attempts left

Answer & explanation