diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-01-10 09:25:11 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-01-20 11:09:23 +0100 |
| commit | 5aeeafff49bf099e95caf94719fabcc5008ab95a (patch) | |
| tree | 42511549628f3af5386f0dbd17be74d8425fec11 /src/liballoc | |
| parent | a1db237cd48e9218f1ea5915c8fd2132dd72358e (diff) | |
| download | rust-5aeeafff49bf099e95caf94719fabcc5008ab95a.tar.gz rust-5aeeafff49bf099e95caf94719fabcc5008ab95a.zip | |
Revert Box::into_raw_non_null to unstable
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 78a4b337711..1f1e98a2b60 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -322,7 +322,7 @@ impl<T: ?Sized> Box<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() |
