Skip to content

Commit

Permalink
update tracking issue for lazy_cell_consume
Browse files Browse the repository at this point in the history
  • Loading branch information
tspiteri committed May 28, 2024
1 parent c0d6003 commit dbd6f8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/core/src/cell/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl<T, F: FnOnce() -> T> LazyCell<T, F> {
/// 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<T, F> {
match this.state.into_inner() {
State::Init(data) => Ok(data),
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sync/lazy_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl<T, F: FnOnce() -> T> LazyLock<T, F> {
/// 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<T, F> {
let state = this.once.state();
match state {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6223,7 +6223,7 @@ The tracking issue for this feature is: [#109736]
label: "lazy_cell_consume",
description: r##"# `lazy_cell_consume`
The tracking issue for this feature is: [#109736]
The tracking issue for this feature is: [#125623]
[#109736]: https://github.com/rust-lang/rust/issues/109736
Expand Down

0 comments on commit dbd6f8c

Please sign in to comment.