Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 728
Why does returning `impl Iterator<Item = &T> + '_` from `fn iter(&self)` need the `'_`?
A
It makes the iterator 'static
B
It's required for all iterators
C
It disables borrow checking
D
It states that the returned iterator borrows from self and can't outlive it (required before the 2024 edition's capture rules)