Skip to content

Commit 467b5cf

Browse files
committed
stabilize (version: 1.26.0) Box::leak, cc rust-lang#46179
1 parent 3bcda48 commit 467b5cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/liballoc/boxed.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ impl<T: ?Sized> Box<T> {
381381
/// assert_eq!(*static_ref, [4, 2, 3]);
382382
/// }
383383
/// ```
384-
#[unstable(feature = "box_leak", reason = "needs an FCP to stabilize",
385-
issue = "46179")]
384+
#[stable(feature = "box_leak", since = "1.26.0")]
386385
#[inline]
387386
pub fn leak<'a>(b: Box<T>) -> &'a mut T
388387
where

0 commit comments

Comments
 (0)