Skip to content

Deprecate multiunzip after switching to Rust 1.85 #1020

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

Open
ronnodas opened this issue Feb 19, 2025 · 3 comments
Open

Deprecate multiunzip after switching to Rust 1.85 #1020

ronnodas opened this issue Feb 19, 2025 · 3 comments

Comments

@ronnodas
Copy link
Contributor

ronnodas commented Feb 19, 2025

Rust 1.85 implements FromIterator for (A_1, ..., A_n) when each A_i is Default + Extend (and n is at most 12) so iter.multiunzip() can be replaced by iter.collect().

@marcospb19
Copy link

also deprecate Itertools::unzip, it's for 2-tuples, replaced by .collect() too.

@ronnodas
Copy link
Contributor Author

There's no Itertools::unzip, maybe you're thinking of Iterator::unzip?

@marcospb19
Copy link

Oh you're right, thanks.

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

No branches or pull requests

2 participants