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 @@ -1497,7 +1497,7 @@ impl<T: Clone> Option<&T> {
14971497 /// ```
14981498 #[ must_use = "`self` will be dropped if the result is not used" ]
14991499 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1500- #[ rustc_const_unstable( feature = "option_const_cloned " , issue = "none" ) ]
1500+ #[ rustc_const_unstable( feature = "const_option_cloned " , issue = "none" ) ]
15011501 pub const fn cloned ( self ) -> Option < T > where T : ~const Clone {
15021502 match self {
15031503 Some ( t) => Some ( t. clone ( ) ) ,
@@ -1521,7 +1521,7 @@ impl<T: Clone> Option<&mut T> {
15211521 /// ```
15221522 #[ must_use = "`self` will be dropped if the result is not used" ]
15231523 #[ stable( since = "1.26.0" , feature = "option_ref_mut_cloned" ) ]
1524- #[ rustc_const_unstable( feature = "option_const_cloned " , issue = "none" ) ]
1524+ #[ rustc_const_unstable( feature = "const_option_cloned " , issue = "none" ) ]
15251525 pub const fn cloned ( self ) -> Option < T > where T : ~const Clone {
15261526 match self {
15271527 Some ( t) => Some ( t. clone ( ) ) ,
You can’t perform that action at this time.
0 commit comments