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