Course lesson

Rustlings iterators3: Iterating and collecting values using the IntoIter trait

README for this exercise.

Duration
2 min
Access
Free
Transcript
Available

README for this exercise.

into_iter is an implementation of the IntoIter trait for vectors. In this case the implementation calls out to iter() under the hood.