From 5aeeafff49bf099e95caf94719fabcc5008ab95a Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 10 Jan 2018 09:25:11 +0100 Subject: [PATCH] Revert Box::into_raw_non_null to unstable --- src/liballoc/boxed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 78a4b337711b..1f1e98a2b606 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -322,7 +322,7 @@ impl Box { /// 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) -> NonNull { Box::into_unique(b).into()