File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
6464 /// ```
6565 #[ must_use = "if you don't need the wrapper, you can use `mem::forget` instead" ]
6666 #[ 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" ) ]
6868 #[ inline( always) ]
6969 pub const fn new ( value : T ) -> ManuallyDrop < T > {
7070 ManuallyDrop { value }
@@ -82,7 +82,7 @@ impl<T> ManuallyDrop<T> {
8282 /// let _: Box<()> = ManuallyDrop::into_inner(x); // This drops the `Box`.
8383 /// ```
8484 #[ 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" ) ]
8686 #[ inline( always) ]
8787 pub const fn into_inner ( slot : ManuallyDrop < T > ) -> T {
8888 slot. value
You can’t perform that action at this time.
0 commit comments