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

Iterator polish #196

Merged
merged 8 commits into from Aug 17, 2021
Merged

Iterator polish #196

merged 8 commits into from Aug 17, 2021

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jul 30, 2021

This is a variety of small improvements for the iterators:

  • Use double_ended_iterator_methods!
  • Specialize nth_back just like nth
  • Add rfold for iterators built on Chain
  • impl ExactSizeIterator for Drain
  • impl FusedIterator for all serial iterators
  • impl Debug for Drain, ParIterMut, and ParValuesMut

@cuviper
Copy link
Member Author

cuviper commented Aug 17, 2021

I think there's nothing controversial here, so I'll go ahead and merge.

@cuviper cuviper merged commit 35b36eb into indexmap-rs:master Aug 17, 2021
@bluss
Copy link
Member

bluss commented Aug 17, 2021

Looks good 🙂

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