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 Send and Sync impls for ComPtr and ComRef #14

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

glowcoil
Copy link
Contributor

ComPtr and ComRef currently do not implement Send or Sync, regardless of what T is, since they contain NonNull fields. This is unnecessarily restrictive. Add Send and Sync impls for ComPtr and ComRef with the same bounds as the Send and Sync impls for Arc in the standard library.

Add Send and Sync impls for ComPtr and ComRef with the same bounds as
the Send and Sync impls for Arc in the standard library.
@glowcoil glowcoil merged commit 5b4ae73 into coupler-rs:master Apr 30, 2024
3 checks passed
@glowcoil glowcoil deleted the send-sync branch April 30, 2024 22:31
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