Commit Graph
1 Commits
Author SHA1 Message Date
Aaron HillandPaul Woolcock 7e3f25dab4 Use slice::iter instead of into_iter to avoid future breakage
`an_array.into_iter()` currently just works because of the autoref
feature, which then calls `<[T] as IntoIterator>::into_iter`. But
in the future, arrays will implement `IntoIterator`, too. In order
to avoid problems in the future, the call is replaced by `iter()`
which is shorter and more explicit.
2020-04-07 12:38:01 -04:00