File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -317,12 +317,14 @@ impl<T: ?Sized> Box<T> {
317317 /// # Examples
318318 ///
319319 /// ```
320+ /// #![feature(box_into_raw_non_null)]
321+ ///
320322 /// fn main() {
321323 /// let x = Box::new(5);
322324 /// let ptr = Box::into_raw_non_null(x);
323325 /// }
324326 /// ```
325- #[ unstable( feature = "nonnull " , issue = "27730 " ) ]
327+ #[ unstable( feature = "box_into_raw_non_null " , issue = "47336 " ) ]
326328 #[ inline]
327329 pub fn into_raw_non_null ( b : Box < T > ) -> NonNull < T > {
328330 Box :: into_unique ( b) . into ( )
Original file line number Diff line number Diff line change 8484#![ cfg_attr( test, feature( rand, test) ) ]
8585#![ feature( allow_internal_unstable) ]
8686#![ feature( ascii_ctype) ]
87+ #![ feature( box_into_raw_non_null) ]
8788#![ feature( box_patterns) ]
8889#![ feature( box_syntax) ]
8990#![ feature( cfg_target_has_atomic) ]
You can’t perform that action at this time.
0 commit comments