]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/boxed.rs
Revert Box::into_raw_non_null to unstable
[rust.git] / src / liballoc / boxed.rs
index 78a4b337711bda58fdcad7383d337e0e78ded3c9..1f1e98a2b606495ba49846b97ffb5c7baaa28d5b 100644 (file)
@@ -322,7 +322,7 @@ pub fn into_raw(b: Box<T>) -> *mut T {
     ///     let ptr = Box::into_raw_non_null(x);
     /// }
     /// ```
-    #[stable(feature = "nonnull", since = "1.24.0")]
+    #[unstable(feature = "nonnull", issue = "27730")]
     #[inline]
     pub fn into_raw_non_null(b: Box<T>) -> NonNull<T> {
         Box::into_unique(b).into()