Skip to content

Commit 5aeeaff

Browse files
committed
Revert Box::into_raw_non_null to unstable
1 parent a1db237 commit 5aeeaff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/boxed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ impl<T: ?Sized> Box<T> {
322322
/// let ptr = Box::into_raw_non_null(x);
323323
/// }
324324
/// ```
325-
#[stable(feature = "nonnull", since = "1.24.0")]
325+
#[unstable(feature = "nonnull", issue = "27730")]
326326
#[inline]
327327
pub fn into_raw_non_null(b: Box<T>) -> NonNull<T> {
328328
Box::into_unique(b).into()

0 commit comments

Comments
 (0)