Skip to content

Conversation

@JOE1994
Copy link

@JOE1994 JOE1994 commented Jan 23, 2021

Fixes #2

This PR adds T: Send bounds to the Send/Sync impls of SyncChannel<T>
in order to prevent users from sending non-Send types to other threads.

Thank you for reviewing this PR 👍

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.

SyncChannel<T> should have a bound on T: Send

1 participant