This API was introduced in #46952:
impl<T: ?Sized> Box<T> {
pub fn into_raw_non_null(b: Box<T>) -> NonNull<T> { /* … */ }
}
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.
This API was introduced in #46952:
It is intended as an eventually-stable replacement for
Box::into_unique, since there is no plan to stabilizeUnique<T>at the moment.See also discussion at #27730.