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

partition_map: loosened Fn to FnMut; replaced for by for_each #366

Merged
merged 1 commit into from
Aug 31, 2019

Conversation

danielhenrymantilla
Copy link
Contributor

  • the Fn bound was not necessary;

  • .for_each and internal iteration can be more efficient than for loops with, for instance, .chained iterators.

@jswrenn
Copy link
Member

jswrenn commented Aug 31, 2019

Thanks for the contribution!

bors r+

bors bot added a commit that referenced this pull request Aug 31, 2019
366: partition_map: loosened Fn to FnMut; replaced `for` by `for_each` r=jswrenn a=danielhenrymantilla

  - the `Fn` bound was not necessary;

  - `.for_each` and internal iteration can be more efficient than `for` loops with, for instance, `.chain`ed iterators.

Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
@bors
Copy link
Contributor

bors bot commented Aug 31, 2019

Build succeeded

@bors bors bot merged commit 521938f into rust-itertools:master Aug 31, 2019
@jswrenn jswrenn mentioned this pull request Sep 17, 2019
@Boscop
Copy link

Boscop commented Oct 12, 2019

When will the new version be released with this fix? :)

@jswrenn
Copy link
Member

jswrenn commented Oct 22, 2019

@Boscop I'll try to publish to crates.io sometime in the next few weeks. The only real obstacle is the bookkeeping work of updating the changelog in the README. I've unfortunately had my hands full with preparing for my dissertation proposal. (However, I'd be delighted to receive a PR updating the changelog.)

bors bot added a commit that referenced this pull request Oct 27, 2019
376: 0.8.1 release r=jswrenn a=danielhenrymantilla

Updated Changelog and `Cargo.toml` for the ~~0.9.0~~ 0.8.1 release, as suggested in #366 (comment)

  - [Rendered](https://github.com/rust-itertools/itertools/blob/a7a1203960451fe2ba21394e5b38981ef8323181/README.rst)

Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
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.

3 participants