| ^^^^^^^^^^^^^ `String` is not an iterator
|
= help: the trait `Iterator` is not implemented for `String`
+ = note: required because of the requirements on the impl of `IntoIterator` for `String`
= note: required by `into_iter`
error[E0277]: `&str` is not an iterator
| ^^ `&str` is not an iterator; try calling `.chars()` or `.bytes()`
|
= help: the trait `Iterator` is not implemented for `&str`
+ = note: required because of the requirements on the impl of `IntoIterator` for `&str`
= note: required by `into_iter`
error: aborting due to 2 previous errors