8000 Implement ExactSizeIterator for ArrayVecIterator and TinyVecIterator by sd2k · Pull Request #173 · Lokathor/tinyvec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement ExactSizeIterator for ArrayVecIterator and TinyVecIterator #173

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 8000 on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

sd2k
Copy link
Contributor
@sd2k sd2k commented Dec 7, 2022

These implementations weren't present but I'm not sure there was a reason. They seem pretty sound to me, but I'm very new to looking at this crate!

The len implementation of ArrayVecIterator is just the same as count.

@Lokathor
Copy link
Owner
Lokathor commented Dec 7, 2022

Yeah this seems fine. I think just no one thought about it before.

These implementations weren't present but I'm not sure there was a reason.
They seem pretty sound to me, but I'm very new to looking at this crate!
@sd2k sd2k force-pushed the impl-exactsizeiterator branch from 7129ce6 to e70b590 Compare December 8, 2022 08:57
@Lokathor Lokathor merged commit 2a0421f into Lokathor:main Dec 9, 2022
@sd2k sd2k deleted the impl-exactsizeiterator branch December 9, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0