1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-05-16 09:38:12 +02:00
Files
rustlings/exercises/18_iterators
Remo Senekowitsch 124708acd9 Use slice instead of array in iterator1
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.
2026-05-03 14:56:32 +02:00
..
2024-06-28 02:48:21 +02:00
2025-07-21 12:13:32 +02:00
2024-06-28 16:11:14 +02:00

Iterators

This section will teach you about Iterators.

Further information