I came across the fact that
&str does not implement
IntoIterator, and the explanation seems to be "it is not clear whether you want the &str's bytes or UTF-8 chars".
However I think it would be a sensible default to implement IntoIterator for
chars, because most of the time you are using a
&str as text and not as a byte string. You could still get an iterator of bytes by calling
.bytes() anyways. But it is kind of surprising that you can't use a
"text" as an
What do you think?