Rollup merge of #125647 - tspiteri:track-lazy_cell_consume, r=working… · model-checking/verify-rust-std@6fcf130 (original) (raw)
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -78,7 +78,7 @@ impl<T, F: FnOnce() -> T> LazyCell<T, F> { | ||
78 | 78 | /// assert_eq!(&*lazy, "HELLO, WORLD!"); |
79 | 79 | /// assert_eq!(LazyCell::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string())); |
80 | 80 | /// ``` |
81 | - #[unstable(feature = "lazy_cell_consume", issue = "109736")] | |
81 | + #[unstable(feature = "lazy_cell_consume", issue = "125623")] | |
82 | 82 | pub fn into_inner(this: Self) -> Result<T, F> { |
83 | 83 | match this.state.into_inner() { |
84 | 84 | State::Init(data) => Ok(data), |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -126,7 +126,7 @@ impl<T, F: FnOnce() -> T> LazyLock<T, F> { | ||
126 | 126 | /// assert_eq!(&*lazy, "HELLO, WORLD!"); |
127 | 127 | /// assert_eq!(LazyLock::into_inner(lazy).ok(), Some("HELLO, WORLD!".to_string())); |
128 | 128 | /// ``` |
129 | - #[unstable(feature = "lazy_cell_consume", issue = "109736")] | |
129 | + #[unstable(feature = "lazy_cell_consume", issue = "125623")] | |
130 | 130 | pub fn into_inner(mut this: Self) -> Result<T, F> { |
131 | 131 | let state = this.once.state(); |
132 | 132 | match state { |