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

regex: implement size_hint for set match iterators #486

Merged
merged 1 commit into from Jun 19, 2018

Conversation

srijs
Copy link
Contributor

@srijs srijs commented Jun 7, 2018

Implementing size_hint for SetMatchesIntoIter and SetMatchesIter by just passing through the hint from the underlying iterators.

I've refrained from implementing ExactSizeIterator for these two types because I wasn't sure whether you'd be okay committing to this API.

@BurntSushi BurntSushi merged commit a90fbd2 into rust-lang:master Jun 19, 2018
@BurntSushi
Copy link
Member

I've refrained from implementing ExactSizeIterator for these two types because I wasn't sure whether you'd be okay committing to this API.

I think this would be OK! :-)

@srijs srijs deleted the patch-1 branch June 19, 2018 20:20
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.

None yet

2 participants