Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 1021
Why doesn't this line do anything?
v.iter().map(|x| println!("{x}"));
A
It runs once only
B
map doesn't accept closures
C
Iterators are lazy; nothing runs until consumed (the compiler warns: unused Map that must be used)
D
println! is disabled in map