@@ -834,7 +834,7 @@ impl<T: Copy, E> Result<&T, E> {
834
834
/// let copied = x.copied();
835
835
/// assert_eq!(copied, Ok(12));
836
836
/// ```
837
- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "XXXXX " ) ]
837
+ #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168 " ) ]
838
838
fn copied ( self ) -> Result < T , E > {
839
839
self . map ( |& t| t)
840
840
}
@@ -854,7 +854,7 @@ impl<T: Copy, E> Result<&mut T, E> {
854
854
/// let copied = x.copied();
855
855
/// assert_eq!(copied, Ok(12));
856
856
/// ```
857
- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "XXXXX " ) ]
857
+ #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168 " ) ]
858
858
fn copied ( self ) -> Result < T , E > {
859
859
self . map ( |& mut t| t)
860
860
}
@@ -874,7 +874,7 @@ impl<T, E: Copy> Result<T, &E> {
874
874
/// let copied = x.copied_err();
875
875
/// assert_eq!(copied, Err(12));
876
876
/// ```
877
- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "XXXXX " ) ]
877
+ #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168 " ) ]
878
878
fn copied_err ( self ) -> Result < T , E > {
879
879
self . map_err ( |& e| e)
880
880
}
@@ -894,7 +894,7 @@ impl<T, E: Copy> Result<T, &mut E> {
894
894
/// let copied = x.copied();
895
895
/// assert_eq!(cloned, Err(12));
896
896
/// ```
897
- #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "XXXXX " ) ]
897
+ #[ unstable( feature = "result_copied" , reason = "newly added" , issue = "63168 " ) ]
898
898
fn copied_err ( self ) -> Result < T , E > {
899
899
self . map_err ( |& mut e| e)
900
900
}
@@ -914,7 +914,7 @@ impl<T: Clone, E> Result<&T, E> {
914
914
/// let cloned = x.cloned();
915
915
/// assert_eq!(cloned, Ok(12));
916
916
/// ```
917
- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "XXXXX " ) ]
917
+ #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168 " ) ]
918
918
fn cloned ( self ) -> Result < T , E > {
919
919
self . map ( |t| t. clone ( ) )
920
920
}
@@ -934,13 +934,13 @@ impl<T: Clone, E> Result<&mut T, E> {
934
934
/// let cloned = x.cloned();
935
935
/// assert_eq!(cloned, Ok(12));
936
936
/// ```
937
- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "XXXXX " ) ]
937
+ #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168 " ) ]
938
938
fn cloned ( self ) -> Result < T , E > {
939
939
self . map ( |t| t. clone ( ) )
940
940
}
941
941
}
942
942
943
- impl < T , E : Clone > Result < T , & mut E > {
943
+ impl < T , E : Clone > Result < T , & E > {
944
944
/// Maps a `Result<T, &E>` to a `Result<T, E>` by cloning the contents of the
945
945
/// `Err` part.
946
946
///
@@ -954,7 +954,7 @@ impl<T, E: Clone> Result<T, &mut E> {
954
954
/// let cloned = x.cloned();
955
955
/// assert_eq!(cloned, Err(12));
956
956
/// ```
957
- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "XXXXX " ) ]
957
+ #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168 " ) ]
958
958
fn cloned_err ( self ) -> Result < T , E > {
959
959
self . map_err ( |e| e. clone ( ) )
960
960
}
@@ -974,7 +974,7 @@ impl<T, E: Clone> Result<T, &mut E> {
974
974
/// let cloned = x.cloned();
975
975
/// assert_eq!(cloned, Err(12));
976
976
/// ```
977
- #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "XXXXX " ) ]
977
+ #[ unstable( feature = "result_cloned" , reason = "newly added" , issue = "63168 " ) ]
978
978
fn cloned_err ( self ) -> Result < T , E > {
979
979
self . map_err ( |e| e. clone ( ) )
980
980
}
0 commit comments