From 457f5eebf4b4d0aef8b8b77eacc20a1755ae553b Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Tue, 28 May 2024 11:02:03 +0200 Subject: [PATCH] update tracking issue for lazy_cell_consume --- core/src/cell/lazy.rs | 2 +- std/src/sync/lazy_lock.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/cell/lazy.rs b/core/src/cell/lazy.rs index 47eab6fd0163c..80b85b9544624 100644 --- a/core/src/cell/lazy.rs +++ b/core/src/cell/lazy.rs @@ -78,7 +78,7 @@ impl T> LazyCell { /// assert_eq!(&*lazy, "HELLO, WORLD!"); /// assert_eq!(LazyCell::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string())); /// ``` - #[unstable(feature = "lazy_cell_consume", issue = "109736")] + #[unstable(feature = "lazy_cell_consume", issue = "125623")] pub fn into_inner(this: Self) -> Result { match this.state.into_inner() { State::Init(data) => Ok(data), diff --git a/std/src/sync/lazy_lock.rs b/std/src/sync/lazy_lock.rs index 16d5dc30552fa..d3bb3bfdff92a 100644 --- a/std/src/sync/lazy_lock.rs +++ b/std/src/sync/lazy_lock.rs @@ -126,7 +126,7 @@ impl T> LazyLock { /// assert_eq!(&*lazy, "HELLO, WORLD!"); /// assert_eq!(LazyLock::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string())); /// ``` - #[unstable(feature = "lazy_cell_consume", issue = "109736")] + #[unstable(feature = "lazy_cell_consume", issue = "125623")] pub fn into_inner(mut this: Self) -> Result { let state = this.once.state(); match state {