about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-12 04:32:03 +0900
committerGitHub <noreply@github.com>2021-07-12 04:32:03 +0900
commit76aebb195b305c73cb9bc6e8e1964a28201a6c0c (patch)
tree5229b4ccdd879acc2bffec96a034f09ddd69c019
parent1232df9097e0754a4257baefede1d662728b7cc4 (diff)
parent14633a0a27c9f82595c1af8123876f5d4a91871d (diff)
downloadrust-76aebb195b305c73cb9bc6e8e1964a28201a6c0c.tar.gz
rust-76aebb195b305c73cb9bc6e8e1964a28201a6c0c.zip
Rollup merge of #87045 - jhpratt:fix-tracking-issue, r=jyn514
Fix tracking issue for `bool_to_option`

The previous tracking issue was closed in favor of the current.
-rw-r--r--library/core/src/bool.rs2
1 files changed, 1 insertions, 1 deletions
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<T>(self, t: T) -> Option<T> {
         if self { Some(t) } else { None }