Skip to content

Commit 4aaf9f6

Browse files
Rollup merge of #125647 - tspiteri:track-lazy_cell_consume, r=workingjubilee
update tracking issue for lazy_cell_consume <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r​? <reviewer name> -->
2 parents 01aa2e8 + 402a649 commit 4aaf9f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/cell/lazy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<T, F: FnOnce() -> T> LazyCell<T, F> {
7878
/// assert_eq!(&*lazy, "HELLO, WORLD!");
7979
/// assert_eq!(LazyCell::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string()));
8080
/// ```
81-
#[unstable(feature = "lazy_cell_consume", issue = "109736")]
81+
#[unstable(feature = "lazy_cell_consume", issue = "125623")]
8282
pub fn into_inner(this: Self) -> Result<T, F> {
8383
match this.state.into_inner() {
8484
State::Init(data) => Ok(data),

library/std/src/sync/lazy_lock.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl<T, F: FnOnce() -> T> LazyLock<T, F> {
126126
/// assert_eq!(&*lazy, "HELLO, WORLD!");
127127
/// assert_eq!(LazyLock::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string()));
128128
/// ```
129-
#[unstable(feature = "lazy_cell_consume", issue = "109736")]
129+
#[unstable(feature = "lazy_cell_consume", issue = "125623")]
130130
pub fn into_inner(mut this: Self) -> Result<T, F> {
131131
let state = this.once.state();
132132
match state {

0 commit comments

Comments
 (0)