-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nth_back()
for Zip
returns wrong values
#68536
Comments
[(10, 2000), (20, 3000), (30, 4000), (40, 5000), (50, 6000), (60, 7000)] so |
@timvermeulen Ah, my bad. Thanks for pointing out! |
The problem seems to be that the specialized version of To be honest, it's not really clear to me why |
This is really a |
@timvermeulen did you ever experiment with the fix that it sounds like you had in mind here:
|
Removing nomination as it was discussed during today's weekly meeting. |
Marking this as p-high as per the prioritization discussion |
@nikomatsakis Thanks for pinging me, I had completely forgotten about this. I remember going down a rabbit hole that eventually spawned #69187 — in a world where that compiled better, we might very well not need the |
Assertions are successful in this code (playground):
But later assertions are actually wrong (the second and third ones shouldn't double-count).
@matthewjasper pointed out it's a bug that exists in the current
next_back
implementation.The text was updated successfully, but these errors were encountered: