You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to implement a zero-cost, safe, and doesn't-conflict-with-anything-else std::iter::Iterator for arrays, such that it is no longer required to called .iter() to get an iterator out of an array?
e.g. is it possible to use
for value in["foo","bar"]{
....
}
instead of needing to manually add the .iter():
for value in["foo","bar"].iter(){
....
}
The text was updated successfully, but these errors were encountered:
Is it possible to implement a zero-cost, safe, and doesn't-conflict-with-anything-else
std::iter::Iterator
for arrays, such that it is no longer required to called.iter()
to get an iterator out of an array?e.g. is it possible to use
instead of needing to manually add the
.iter()
:The text was updated successfully, but these errors were encountered: