From 2fcdc9c15d553e48e1cd8b3547f4ce3016771e94 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Wed, 26 Dec 2018 10:13:02 +0100 Subject: [PATCH] Add a tracking issue for Option::copied --- src/libcore/option.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }