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> {
1497
1497
/// ```
1498
1498
#[ must_use = "`self` will be dropped if the result is not used" ]
1499
1499
#[ 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" ) ]
1501
1501
pub const fn cloned ( self ) -> Option < T > where T : ~const Clone {
1502
1502
match self {
1503
1503
Some ( t) => Some ( t. clone ( ) ) ,
@@ -1521,7 +1521,7 @@ impl<T: Clone> Option<&mut T> {
1521
1521
/// ```
1522
1522
#[ must_use = "`self` will be dropped if the result is not used" ]
1523
1523
#[ 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" ) ]
1525
1525
pub const fn cloned ( self ) -> Option < T > where T : ~const Clone {
1526
1526
match self {
1527
1527
Some ( t) => Some ( t. clone ( ) ) ,
You can’t perform that action at this time.
0 commit comments