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
Okay, this one is because internally we use zip and iterate that.
Originally zip would error out when the collections had different lengths, but now it is more forgiving (I would have preferred introducing a new funciton, but there you go). Perhaps being this forgiving here would only encourage mistakes.
We should probably fix this by comparing the lengths of the inputs (but only if the iterators possess the HasLength trait...)
I expected this to throw an exception.
The text was updated successfully, but these errors were encountered: