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 @@ -64,7 +64,7 @@ impl<T> ManuallyDrop<T> {
64
64
/// ```
65
65
#[ must_use = "if you don't need the wrapper, you can use `mem::forget` instead" ]
66
66
#[ stable( feature = "manually_drop" , since = "1.20.0" ) ]
67
- #[ rustc_const_stable( feature = "const_manually_drop" , since = "1.36 .0" ) ]
67
+ #[ rustc_const_stable( feature = "const_manually_drop" , since = "1.32 .0" ) ]
68
68
#[ inline( always) ]
69
69
pub const fn new ( value : T ) -> ManuallyDrop < T > {
70
70
ManuallyDrop { value }
@@ -82,7 +82,7 @@ impl<T> ManuallyDrop<T> {
82
82
/// let _: Box<()> = ManuallyDrop::into_inner(x); // This drops the `Box`.
83
83
/// ```
84
84
#[ stable( feature = "manually_drop" , since = "1.20.0" ) ]
85
- #[ rustc_const_stable( feature = "const_manually_drop" , since = "1.36 .0" ) ]
85
+ #[ rustc_const_stable( feature = "const_manually_drop" , since = "1.32 .0" ) ]
86
86
#[ inline( always) ]
87
87
pub const fn into_inner ( slot : ManuallyDrop < T > ) -> T {
88
88
slot. value
You can’t perform that action at this time.
0 commit comments