JakobDegen / mappable-rc

Rust crate providing mappable reference counted types
Apache License 2.0
9 stars 1 forks source link

Add Send & Sync impl for unsized T in Marc<T> #2

Closed nicopap closed 1 year ago

nicopap commented 1 year ago

Marc should implement Send and Sync even for unsized types. This commit adds the proper bounds to make this work, and a test to make sure it actually works.

JakobDegen commented 1 year ago

Thanks and sorry this took me so long to get to! Released 0.1.1 with the change

nicopap commented 1 year ago

Thank you for the review. I'm not entitled to your work. I'm always grateful of maintainers considering my contributions.