Skip to content

Commit 7b3f729

Browse files
committed
Add tracking issue
1 parent 0f0e1c1 commit 7b3f729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/libcore/bool.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl bool {
1313
/// assert_eq!(false.then(0), None);
1414
/// assert_eq!(true.then(0), Some(0));
1515
/// ```
16-
#[unstable(feature = "bool_to_option", issue = "0")]
16+
#[unstable(feature = "bool_to_option", issue = "64260")]
1717
#[inline]
1818
pub fn then<T>(self, t: T) -> Option<T> {
1919
if self {
@@ -33,7 +33,7 @@ impl bool {
3333
/// assert_eq!(false.then_with(|| 0), None);
3434
/// assert_eq!(true.then_with(|| 0), Some(0));
3535
/// ```
36-
#[unstable(feature = "bool_to_option", issue = "0")]
36+
#[unstable(feature = "bool_to_option", issue = "64260")]
3737
#[inline]
3838
pub fn then_with<T, F: FnOnce() -> T>(self, f: F) -> Option<T> {
3939
if self {

0 commit comments

Comments
 (0)