Skip to content

mode works with all iterables#9

Open
pacman82 wants to merge 1 commit intoJeffBelgum:masterfrom
pacman82:master
Open

mode works with all iterables#9
pacman82 wants to merge 1 commit intoJeffBelgum:masterfrom
pacman82:master

Conversation

@pacman82
Copy link
Copy Markdown

@pacman82 pacman82 commented Jun 16, 2016

Changed mode interface from &[] slices to IntoIterator. Sadly, I think it would take unstable compiler features to make mode return primitives by value instead of references for ranges not moving ownership of elements during iteration. Or am I mistaken?

... but breaks interface for ranges not moving ownership of elements during iteration
@JeffBelgum
Copy link
Copy Markdown
Owner

Hi @pacman82,

Thanks for your PR! I'm quite busy for the rest of this week, but I'll check it out over the weekend.

Cheers,
Jeff

@pacman82
Copy link
Copy Markdown
Author

thx, looking forward to your feedback

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.

2 participants