Skip to content

Commit 9ac48c3

Browse files
committed
add tracking issue
Signed-off-by: tison <[email protected]>
1 parent 63e5e9e commit 9ac48c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/cell/once.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl<T> OnceCell<T> {
189189
/// assert_eq!(value, &94);
190190
/// ```
191191
#[inline]
192-
#[unstable(feature = "once_cell_get_mut")]
192+
#[unstable(feature = "once_cell_get_mut", issue = "121641")]
193193
pub fn get_mut_or_init<F>(&mut self, f: F) -> &mut T
194194
where
195195
F: FnOnce() -> T,
@@ -267,7 +267,7 @@ impl<T> OnceCell<T> {
267267
/// *value.unwrap() += 2;
268268
/// assert_eq!(cell.get(), Some(&94))
269269
/// ```
270-
#[unstable(feature = "once_cell_get_mut")]
270+
#[unstable(feature = "once_cell_get_mut", issue = "121641")]
271271
pub fn get_mut_or_try_init<F, E>(&mut self, f: F) -> Result<&mut T, E>
272272
where
273273
F: FnOnce() -> Result<T, E>,

0 commit comments

Comments
 (0)