about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-02-10 01:26:19 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2018-02-10 01:26:19 +0100
commit467b5cfcb70c6a0f4b681f90219ce7d490980a47 (patch)
tree91a5534c66e8080513ef8b241f3526c595424b9e /src/liballoc
parent3bcda48a30b21e46b81a7989deb30a3ba85fb918 (diff)
downloadrust-467b5cfcb70c6a0f4b681f90219ce7d490980a47.tar.gz
rust-467b5cfcb70c6a0f4b681f90219ce7d490980a47.zip
stabilize (version: 1.26.0) Box::leak, cc #46179
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index cdaad973a71..a831391d168 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -381,8 +381,7 @@ impl<T: ?Sized> Box<T> {
     ///     assert_eq!(*static_ref, [4, 2, 3]);
     /// }
     /// ```
-    #[unstable(feature = "box_leak", reason = "needs an FCP to stabilize",
-               issue = "46179")]
+    #[stable(feature = "box_leak", since = "1.26.0")]
     #[inline]
     pub fn leak<'a>(b: Box<T>) -> &'a mut T
     where