-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add DoubleEndedIterator
to U32Digits
and U64Digits
#208
Conversation
Did you explore what it would take to add that implementation instead? |
I'd thought about it a little but went with this instead -- doing a quick mockup, it looks like that won't be as difficult as I first thought, so I'll give it a go. |
It's definitely a lot cleaner than I expected; I think we should go that route instead. |
DoubleEndedIterator
to U32Digits
and U64Digits
@cuviper Thoughts on the new implementation? |
It looks good to me, thanks! bors r+ |
208: Add `DoubleEndedIterator` to `U32Digits` and `U64Digits` r=cuviper a=PatrickNorton Since `U32Digits` and `U64Digits` do not implement `DoubleEndedIterator`, there is currently no easy way to iterate over the digits in a big-ended fashion. Co-authored-by: Patrick Norton <patrick.147.norton@gmail.com>
Build failed: |
Hmm, that failure with |
bors r+ |
Since
U32Digits
andU64Digits
do not implementDoubleEndedIterator
, there is currently no easy way to iterate over the digits in a big-ended fashion.