diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 3147b21f86b6..9db7e47b08cf 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -899,7 +899,7 @@ impl<'a, T: Copy> Option<&'a T> { /// let copied = opt_x.copied(); /// assert_eq!(copied, Some(12)); /// ``` - #[unstable(feature = "copied", issue = "0")] + #[unstable(feature = "copied", issue = "57126")] pub fn copied(self) -> Option { self.map(|&t| t) } @@ -920,7 +920,7 @@ impl<'a, T: Copy> Option<&'a mut T> { /// let copied = opt_x.copied(); /// assert_eq!(copied, Some(12)); /// ``` - #[unstable(feature = "copied", issue = "0")] + #[unstable(feature = "copied", issue = "57126")] pub fn copied(self) -> Option { self.map(|&mut t| t) }