Closed philn closed 7 months ago
Yes this can simply be Send+Sync
. Preparing PR.
Also I forgot to mention. The change the clippy suggested would've caused the Send+Sync
impls on Picture
/ Plane
to be wrong and usage of those types across threads would've been unsound.
Worth reporting, IMHO.
We could either implement
Send+Sync
forInnerPicture
, or wrap it in aRc<>
. afaik the picture data is immutable.