From 7b3f72906ffea5a8aec9e3d109d8e012f771a672 Mon Sep 17 00:00:00 2001 From: varkor Date: Sat, 7 Sep 2019 17:06:39 +0100 Subject: [PATCH] Add tracking issue --- src/libcore/bool.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {