← Back to archive

Stdle #60 · iteration · 2026-08-05

What does this Rust snippet output?

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

fn main() {
let p = (10..20).position(|x| x == 13);
println!("{:?}", p);
}
Iteration
4 attempts left

Answer & explanation