Skip to content

Commit

Permalink
Assign tracking issue to option_ref_mut_cloned
Browse files Browse the repository at this point in the history
  • Loading branch information
panicbit committed Aug 8, 2017
1 parent 5383205 commit 9618299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ impl<'a, T: Clone> Option<&'a mut T> {
/// let cloned = opt_x.cloned();
/// assert_eq!(cloned, Some(12));
/// ```
#[unstable(feature = "option_ref_mut_cloned", issue = "0")]
#[unstable(feature = "option_ref_mut_cloned", issue = "43738")]
pub fn cloned(self) -> Option<T> {
self.map(|t| t.clone())
}
Expand Down

0 comments on commit 9618299

Please sign in to comment.