]> git.lizzy.rs Git - rust.git/commitdiff
stabilize (version: 1.26.0) Box::leak, cc #46179
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 10 Feb 2018 00:26:19 +0000 (01:26 +0100)
committerMazdak Farrokhzad <twingoow@gmail.com>
Sat, 10 Feb 2018 00:26:19 +0000 (01:26 +0100)
src/liballoc/boxed.rs

index cdaad973a7123a1aa4830bb896397af5629d3572..a831391d168272800a33512dda6add7147d9ac77 100644 (file)
@@ -381,8 +381,7 @@ pub fn into_unique(b: Box<T>) -> Unique<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