mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 09:33:26 +00:00
Add tracking issue number
This commit is contained in:
parent
8b81937f9a
commit
9eb7c34f9b
@ -1497,7 +1497,7 @@ impl<T: Clone> Option<&T> {
|
||||
/// ```
|
||||
#[must_use = "`self` will be dropped if the result is not used"]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_option_cloned", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "const_option_cloned", issue = "91582")]
|
||||
pub const fn cloned(self) -> Option<T>
|
||||
where
|
||||
T: ~const Clone,
|
||||
@ -1524,7 +1524,7 @@ impl<T: Clone> Option<&mut T> {
|
||||
/// ```
|
||||
#[must_use = "`self` will be dropped if the result is not used"]
|
||||
#[stable(since = "1.26.0", feature = "option_ref_mut_cloned")]
|
||||
#[rustc_const_unstable(feature = "const_option_cloned", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "const_option_cloned", issue = "91582")]
|
||||
pub const fn cloned(self) -> Option<T>
|
||||
where
|
||||
T: ~const Clone,
|
||||
|
Loading…
Reference in New Issue
Block a user