@@ -1500,14 +1500,14 @@ impl<T, E> Result<&T, E> {
15001500 /// # Examples
15011501 ///
15021502 /// ```
1503- /// #![feature(result_copied)]
15041503 /// let val = 12;
15051504 /// let x: Result<&i32, i32> = Ok(&val);
15061505 /// assert_eq!(x, Ok(&12));
15071506 /// let copied = x.copied();
15081507 /// assert_eq!(copied, Ok(12));
15091508 /// ```
1510- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168" ) ]
1509+ #[ inline]
1510+ #[ stable( feature = "result_copied" , since = "1.59.0" ) ]
15111511 pub fn copied ( self ) -> Result < T , E >
15121512 where
15131513 T : Copy ,
@@ -1521,14 +1521,14 @@ impl<T, E> Result<&T, E> {
15211521 /// # Examples
15221522 ///
15231523 /// ```
1524- /// #![feature(result_cloned)]
15251524 /// let val = 12;
15261525 /// let x: Result<&i32, i32> = Ok(&val);
15271526 /// assert_eq!(x, Ok(&12));
15281527 /// let cloned = x.cloned();
15291528 /// assert_eq!(cloned, Ok(12));
15301529 /// ```
1531- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168" ) ]
1530+ #[ inline]
1531+ #[ stable( feature = "result_cloned" , since = "1.59.0" ) ]
15321532 pub fn cloned ( self ) -> Result < T , E >
15331533 where
15341534 T : Clone ,
@@ -1544,14 +1544,14 @@ impl<T, E> Result<&mut T, E> {
15441544 /// # Examples
15451545 ///
15461546 /// ```
1547- /// #![feature(result_copied)]
15481547 /// let mut val = 12;
15491548 /// let x: Result<&mut i32, i32> = Ok(&mut val);
15501549 /// assert_eq!(x, Ok(&mut 12));
15511550 /// let copied = x.copied();
15521551 /// assert_eq!(copied, Ok(12));
15531552 /// ```
1554- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168" ) ]
1553+ #[ inline]
1554+ #[ stable( feature = "result_copied" , since = "1.59.0" ) ]
15551555 pub fn copied ( self ) -> Result < T , E >
15561556 where
15571557 T : Copy ,
@@ -1565,14 +1565,14 @@ impl<T, E> Result<&mut T, E> {
15651565 /// # Examples
15661566 ///
15671567 /// ```
1568- /// #![feature(result_cloned)]
15691568 /// let mut val = 12;
15701569 /// let x: Result<&mut i32, i32> = Ok(&mut val);
15711570 /// assert_eq!(x, Ok(&mut 12));
15721571 /// let cloned = x.cloned();
15731572 /// assert_eq!(cloned, Ok(12));
15741573 /// ```
1575- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168" ) ]
1574+ #[ inline]
1575+ #[ stable( feature = "result_cloned" , since = "1.59.0" ) ]
15761576 pub fn cloned ( self ) -> Result < T , E >
15771577 where
15781578 T : Clone ,
0 commit comments