Skip to content

Don't create an `&mut T` in `get_ptr`

Sabrina Jewson requested to merge SabrinaJewson/waitcell:fix-aliasing into mainline

This avoids asserting uniqueness over the T, allowing get_ref to be soundly called concurrently by multiple threads.

This resolves a soundness issue with the crate.

Merge request reports