File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1500,7 +1500,7 @@ impl<A: Allocator> Box<dyn Any, A> {
1500
1500
/// print_if_string(Box::new(0i8));
1501
1501
/// ```
1502
1502
#[ inline]
1503
- #[ stable( feature = "box_send_sync_any_downcast " , since = "1.51 .0" ) ]
1503
+ #[ stable( feature = "rust1 " , since = "1.0 .0" ) ]
1504
1504
pub fn downcast < T : Any > ( self ) -> Result < Box < T , A > , Self > {
1505
1505
if self . is :: < T > ( ) { unsafe { Ok ( self . downcast_unchecked :: < T > ( ) ) } } else { Err ( self ) }
1506
1506
}
@@ -1559,7 +1559,7 @@ impl<A: Allocator> Box<dyn Any + Send, A> {
1559
1559
/// print_if_string(Box::new(0i8));
1560
1560
/// ```
1561
1561
#[ inline]
1562
- #[ stable( feature = "box_send_sync_any_downcast " , since = "1.51 .0" ) ]
1562
+ #[ stable( feature = "rust1 " , since = "1.0 .0" ) ]
1563
1563
pub fn downcast < T : Any > ( self ) -> Result < Box < T , A > , Self > {
1564
1564
if self . is :: < T > ( ) { unsafe { Ok ( self . downcast_unchecked :: < T > ( ) ) } } else { Err ( self ) }
1565
1565
}
You can’t perform that action at this time.
0 commit comments