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

Add Stream impls for more crate types #77

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Conversation

KodrAus
Copy link
Collaborator

@KodrAus KodrAus commented Oct 18, 2019

The OwnedStream and RefMutStream types are logically Streams, and it would be surprising for a consumer to discover that they aren't, creating friction when attempting to accept anything through a impl Stream bound.

The Stack type can also implement the Stream trait, even though it's not an immediately useful implementation it's a nice smoke-test that usages of Streams are actually valid.

@KodrAus KodrAus merged commit 0eb3095 into master Oct 18, 2019
@KodrAus KodrAus deleted the feat/more-stream-impls branch October 18, 2019 22:07
@KodrAus KodrAus mentioned this pull request Oct 18, 2019
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.

1 participant