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

impl Clone for stream::{Empty, Pending, Repeat} #2248

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Oct 31, 2020

I'm not clear about if it needs to implement Clone for almost combinator as std iterator does, but I think it makes sense for these streams to implement Clone.

@taiki-e taiki-e changed the title impl Clone for stream::{empty, pending, repeat} impl Clone for stream::{Empty, Pending, Repeat} Oct 31, 2020
@taiki-e taiki-e merged commit 310fd0d into rust-lang:master Oct 31, 2020
@taiki-e taiki-e deleted the stream-clone branch October 31, 2020 11:31
@taiki-e taiki-e mentioned this pull request Nov 4, 2020
@taiki-e taiki-e added A-stream Area: futures::stream and removed C-feature-request labels Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-stream Area: futures::stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants