Tracking issue for Box::into_raw_non_null · Issue #47336 · rust-lang/rust (original) (raw)
This API was introduced in #46952:
impl<T: ?Sized> Box { pub fn into_raw_non_null(b: Box) -> NonNull { /* … */ } }
It is intended as an eventually-stable replacement for Box::into_unique
, since there is no plan to stabilize Unique<T>
at the moment.
See also discussion at #27730.