Stdle #26 · iteration · 2026-07-02
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let r: Vec<i32> = (1..=6) .map(|x| x * 10) .filter(|x| x > &25) .collect(); println!("{:?}", r);}Iteration