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

send/sync fix to prevent misuse #2

Merged
merged 1 commit into from
Jan 24, 2021
Merged

send/sync fix to prevent misuse #2

merged 1 commit into from
Jan 24, 2021

Conversation

JOE1994
Copy link
Contributor

@JOE1994 JOE1994 commented Jan 23, 2021

Fixes #1

Added correct trait bounds to Send/Sync impls
in order to prevent misuse and maintain thread safety at compile time.

Thank you for reviewing this PR 👍

@SonicFrog SonicFrog merged commit e6fb03b into SonicFrog:master Jan 24, 2021
@JOE1994
Copy link
Contributor Author

JOE1994 commented Jan 24, 2021

@SonicFrog Thank you for accepting the fix!
Would you also mind publishing a new release to crates.io?

@SonicFrog
Copy link
Owner

Sure, no problem. I just published 0.4.1

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.

AtomicBox should have bounds on its Send/Sync traits
2 participants