Open
Description
allocator-api2's Box is backed by a NonNull.
std's Box is backed by a Unique. Unique is a wrapper around NonNull with an important addition: a marker to give a hint to dropck
The Box type in this crate doesn't have this marker.
Relatedly, I'm working on refreshing https://crates.io/crates/allocator-api with code automatically generated from the code in the rust repo (and comparing what I have vs this crate is how I found this discrepancy).
Metadata
Metadata
Assignees
Labels
No labels