-
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
Implement more ExactSizeIterator
s on 64-bit platforms
#124056
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @scottmcm (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
The job Click to see the possible cause of the failure (guessed by this bot)
|
This will partially affect |
we generally want to avoid such portability surprises like this would introduce |
Adding these would be a pretty substantial policy change, so it's not something I can just decide in a PR. Please open an API Change Proposal for libs-api to consider if you wish to do this, but for now I'm going to close the PR. I suspect it's more likely that the way forward here (if anything) is something like what's described in #41619 (comment) , and not something based on conditional compilation |
In 64-bit platforms
Range<i64>
,Range<u64>
,RangeInclusive<i32>
andRangeInclusive<u32>
should implementExactSizeIterator
.