We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac5380 commit 2fcdc9cCopy full SHA for 2fcdc9c
src/libcore/option.rs
@@ -899,7 +899,7 @@ impl<'a, T: Copy> Option<&'a T> {
899
/// let copied = opt_x.copied();
900
/// assert_eq!(copied, Some(12));
901
/// ```
902
- #[unstable(feature = "copied", issue = "0")]
+ #[unstable(feature = "copied", issue = "57126")]
903
pub fn copied(self) -> Option<T> {
904
self.map(|&t| t)
905
}
@@ -920,7 +920,7 @@ impl<'a, T: Copy> Option<&'a mut T> {
920
921
922
923
924
925
self.map(|&mut t| t)
926
0 commit comments