Skip to content

Conversation

zertosh
Copy link
Contributor

@zertosh zertosh commented Jun 22, 2021

Aside from automatic parameter conversion using IntoIterator, having
intersperse and intersperse_with as free functions makes it easier for
downstream code to avoid the unstable_name_collisions lint because of
lib core's own similarly named Iterator methods.
rust-lang/rust#48919

@phimuemue
Copy link
Member

Hi there, I agree: As long as we have intersperse in Itertools and we offer free functions, we should possibly include it in the free functions, too. However, there seems to be a problem (see CI).

@zertosh
Copy link
Contributor Author

zertosh commented Jun 30, 2021

@phimuemue, fixed! Sorry, I didn't get CI signal when I first put up the PR.

@phimuemue
Copy link
Member

Thank you.

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 16, 2021

Build succeeded:

@bors bors bot merged commit 4ac4f43 into rust-itertools:master Aug 16, 2021
@jswrenn jswrenn added this to the next milestone Sep 13, 2021
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