Update stabilization version of arc_new_cyclic
This commit is contained in:
parent
ce31cbc7a3
commit
00e191c72d
@ -414,7 +414,7 @@ pub fn new(value: T) -> Rc<T> {
|
||||
/// ```
|
||||
/// [`upgrade`]: Weak::upgrade
|
||||
#[cfg(not(no_global_oom_handling))]
|
||||
#[stable(feature = "arc_new_cyclic", since = "1.59.0")]
|
||||
#[stable(feature = "arc_new_cyclic", since = "1.60.0")]
|
||||
pub fn new_cyclic<F>(data_fn: F) -> Rc<T>
|
||||
where
|
||||
F: FnOnce(&Weak<T>) -> T,
|
||||
|
@ -391,7 +391,7 @@ pub fn new(data: T) -> Arc<T> {
|
||||
/// [`upgrade`]: Weak::upgrade
|
||||
#[cfg(not(no_global_oom_handling))]
|
||||
#[inline]
|
||||
#[stable(feature = "arc_new_cyclic", since = "1.59.0")]
|
||||
#[stable(feature = "arc_new_cyclic", since = "1.60.0")]
|
||||
pub fn new_cyclic<F>(data_fn: F) -> Arc<T>
|
||||
where
|
||||
F: FnOnce(&Weak<T>) -> T,
|
||||
|
Loading…
Reference in New Issue
Block a user