Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for Box::into_raw_non_null #47336
Comments
SimonSapin
added a commit
to SimonSapin/rust
that referenced
this issue
Jan 10, 2018
SimonSapin
referenced this issue
Jan 10, 2018
Merged
Rename std::ptr::Shared to NonNull and stabilize it #46952
Mark-Simulacrum
added
T-libs
C-tracking-issue
labels
Jan 10, 2018
alexcrichton
added
the
B-unstable
label
Jan 11, 2018
SimonSapin
added a commit
to SimonSapin/rust
that referenced
this issue
Jan 17, 2018
SimonSapin
added a commit
to SimonSapin/rust
that referenced
this issue
Jan 17, 2018
SimonSapin
added a commit
to SimonSapin/rust
that referenced
this issue
Jan 20, 2018
This comment has been minimized.
This comment has been minimized.
|
It would be nice for this method to be an impl of the This method can be replaced with So while we can live without it, I’m still in favor of stabilizing this. It’s small and won’t be a maintenance burden. |
This comment has been minimized.
This comment has been minimized.
|
I'm in favor of |
This comment has been minimized.
This comment has been minimized.
|
@nvzqz |
This comment has been minimized.
This comment has been minimized.
|
I'm acutely aware it is. If we choose to stabilize both, then their names should be considered against each other regarding convention. |
SimonSapin commentedJan 10, 2018
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.