From 467b5cfcb70c6a0f4b681f90219ce7d490980a47 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sat, 10 Feb 2018 01:26:19 +0100 Subject: [PATCH] stabilize (version: 1.26.0) Box::leak, cc #46179 --- src/liballoc/boxed.rs | 3 +-- 1 file changed, 1 insertion(+), 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 Box { /// 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) -> &'a mut T where