Skip to content

Additional traits for Iter#4

Merged
bodil merged 2 commits intobodil:masterfrom
vorner:iter-traits
Apr 26, 2021
Merged

Additional traits for Iter#4
bodil merged 2 commits intobodil:masterfrom
vorner:iter-traits

Conversation

@vorner
Copy link
Copy Markdown
Contributor

@vorner vorner commented Nov 4, 2020

Most importantly, Clone, which is generally useful (to pass it to
somewhere and iterate over it multiple times, but also for reverse
dependencies, see bodil/im-rs#134).

Piggy-backing Debug when at it, because, why not.

Not implementing Copy, as that could lead to footguns (iterators
forking by accident would do confusing things).

Most importantly, Clone, which is generally useful (to pass it to
somewhere and iterate over it multiple times, but also for reverse
dependencies, see bodil/im-rs#134).

Piggy-backing Debug when at it, because, why not.

*Not* implementing Copy, as that could lead to footguns (iterators
forking by accident would do confusing things).
@bodil bodil merged commit 54865be into bodil:master Apr 26, 2021
@vorner vorner deleted the iter-traits branch April 27, 2021 15:43
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