diff --git a/src/libcore/bool.rs b/src/libcore/bool.rs index 54faa7047d5..32ec26975e3 100644 --- a/src/libcore/bool.rs +++ b/src/libcore/bool.rs @@ -13,7 +13,7 @@ impl bool { /// assert_eq!(false.then(0), None); /// assert_eq!(true.then(0), Some(0)); /// ``` - #[unstable(feature = "bool_to_option", issue = "0")] + #[unstable(feature = "bool_to_option", issue = "64260")] #[inline] pub fn then(self, t: T) -> Option { if self { @@ -33,7 +33,7 @@ impl bool { /// assert_eq!(false.then_with(|| 0), None); /// assert_eq!(true.then_with(|| 0), Some(0)); /// ``` - #[unstable(feature = "bool_to_option", issue = "0")] + #[unstable(feature = "bool_to_option", issue = "64260")] #[inline] pub fn then_with T>(self, f: F) -> Option { if self {