We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1db237 commit 5aeeaffCopy full SHA for 5aeeaff
src/liballoc/boxed.rs
@@ -322,7 +322,7 @@ impl<T: ?Sized> Box<T> {
322
/// let ptr = Box::into_raw_non_null(x);
323
/// }
324
/// ```
325
- #[stable(feature = "nonnull", since = "1.24.0")]
+ #[unstable(feature = "nonnull", issue = "27730")]
326
#[inline]
327
pub fn into_raw_non_null(b: Box<T>) -> NonNull<T> {
328
Box::into_unique(b).into()
0 commit comments