From 14633a0a27c9f82595c1af8123876f5d4a91871d Mon Sep 17 00:00:00 2001 From: Jacob Pratt Date: Sat, 10 Jul 2021 18:25:01 -0400 Subject: [PATCH] Fix tracking issue for `bool_to_option` --- library/core/src/bool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/bool.rs b/library/core/src/bool.rs index 00164c631b3..dcafaae2f5b 100644 --- a/library/core/src/bool.rs +++ b/library/core/src/bool.rs @@ -12,7 +12,7 @@ impl bool { /// assert_eq!(false.then_some(0), None); /// assert_eq!(true.then_some(0), Some(0)); /// ``` - #[unstable(feature = "bool_to_option", issue = "64260")] + #[unstable(feature = "bool_to_option", issue = "80967")] #[inline] pub fn then_some(self, t: T) -> Option { if self { Some(t) } else { None }