Skip to content

Commit 2fcdc9c

Browse files
Add a tracking issue for Option::copied
1 parent 8ac5380 commit 2fcdc9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ impl<'a, T: Copy> Option<&'a T> {
899899
/// let copied = opt_x.copied();
900900
/// assert_eq!(copied, Some(12));
901901
/// ```
902-
#[unstable(feature = "copied", issue = "0")]
902+
#[unstable(feature = "copied", issue = "57126")]
903903
pub fn copied(self) -> Option<T> {
904904
self.map(|&t| t)
905905
}
@@ -920,7 +920,7 @@ impl<'a, T: Copy> Option<&'a mut T> {
920920
/// let copied = opt_x.copied();
921921
/// assert_eq!(copied, Some(12));
922922
/// ```
923-
#[unstable(feature = "copied", issue = "0")]
923+
#[unstable(feature = "copied", issue = "57126")]
924924
pub fn copied(self) -> Option<T> {
925925
self.map(|&mut t| t)
926926
}

0 commit comments

Comments
 (0)