mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-10-29 22:56:28 +01:00
This avoids confusion between `.into_iter()` and `.iter()`. On a slice, both methods do the same (correct) thing. Using `.into_iter()` will result in a clippy warning about the slice not being consumed.