diff options
| author | Konrad Borowski <konrad@borowski.pw> | 2018-12-26 10:13:02 +0100 |
|---|---|---|
| committer | Konrad Borowski <konrad@borowski.pw> | 2018-12-26 10:13:02 +0100 |
| commit | 2fcdc9c15d553e48e1cd8b3547f4ce3016771e94 (patch) | |
| tree | a2d815165fc732b38e5efbe4c95b0bf3e98cb7fa | |
| parent | 8ac5380ea0204dbdcbc8108d259928b67d5f8ebb (diff) | |
| download | rust-2fcdc9c15d553e48e1cd8b3547f4ce3016771e94.tar.gz rust-2fcdc9c15d553e48e1cd8b3547f4ce3016771e94.zip | |
Add a tracking issue for Option::copied
| -rw-r--r-- | src/libcore/option.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 3147b21f86b..9db7e47b08c 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<T> { 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<T> { self.map(|&mut t| t) } |
