Closed daniel-chambers closed 4 months ago
As suggested by @SamirTalwar in #159, this PR adds the RefCast trait to all newtype wrappers which allows the safe casting of &SmolStr to &MySmolStrWrappingNewtype.
&SmolStr
&MySmolStrWrappingNewtype
As suggested by @SamirTalwar in #159, this PR adds the RefCast trait to all newtype wrappers which allows the safe casting of
&SmolStr
to&MySmolStrWrappingNewtype
.