On Thu Dec 3, 2026 at 11:20 AM CET, Philipp Stanner wrote: > So if I do drop_in_place(NonNull) it does not invoke NonNull's drop in > place?
There is a difference between dropping the value that holds the pointer, i.e. NonNull, and dropping the value pointed to by NonNull. The API has to distinguish between the two. NonNull itself can't drop the pointed to value in its destructor, as there is no guarantee that the pointer is valid.
