-
Notifications
You must be signed in to change notification settings - Fork 21
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
Mark InnerPicture
as Send+Sync
#96
Conversation
`Picture` already was and it's just a ref-counting wrapper around it. Fixes rust-av#95
src/lib.rs
Outdated
@@ -734,6 +732,9 @@ impl Picture { | |||
unsafe impl Send for Picture {} | |||
unsafe impl Sync for Picture {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lu-zero Do you want this to be removed and implicitly implemented? Same question for Plane
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds a good idea. Thank you :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So remove? Do you want to add something around static_assertions
to ensure the traits are auto-implemented? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you prefer, the least code to confuse users the better though ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
And add static assertions to ensure this actually happens.
611c527
to
ad1e575
Compare
@lu-zero Once merged, can you make a release? |
Can we have a release please? 🙏🏻 |
Sure, remind me tomorrow morning please :) |
Good morning Luca :) Can we have a release please? :) |
Picture
already was and it's just a ref-counting wrapper around it.Fixes #95