Skip to content
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

improve the bstr::ext_slice::Bytes iterator #62

Closed
wants to merge 1 commit into from
Closed

improve the bstr::ext_slice::Bytes iterator #62

wants to merge 1 commit into from

Conversation

fogti
Copy link
Contributor

@fogti fogti commented Jun 17, 2020

Added methods/traits:

+ as_slice            (fix #61)
+ Iterator::size_hint (uphold contract with ExactSizeIterator)
+ impl FusedIterator  (may allow some additional optimizations)
@fogti
Copy link
Contributor Author

fogti commented Jun 28, 2020

ping @BurntSushi I would depend on this PR being merged to finish up release v0.1.0 of crulz.

BurntSushi pushed a commit that referenced this pull request Oct 18, 2020
@fogti fogti deleted the impro-bytes-iter branch October 18, 2020 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the Bytes iterator should have an as_slice method
1 participant