We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce31cbc commit 00e191cCopy full SHA for 00e191c
library/alloc/src/rc.rs
@@ -414,7 +414,7 @@ impl<T> Rc<T> {
414
/// ```
415
/// [`upgrade`]: Weak::upgrade
416
#[cfg(not(no_global_oom_handling))]
417
- #[stable(feature = "arc_new_cyclic", since = "1.59.0")]
+ #[stable(feature = "arc_new_cyclic", since = "1.60.0")]
418
pub fn new_cyclic<F>(data_fn: F) -> Rc<T>
419
where
420
F: FnOnce(&Weak<T>) -> T,
library/alloc/src/sync.rs
@@ -391,7 +391,7 @@ impl<T> Arc<T> {
391
392
393
#[inline]
394
395
pub fn new_cyclic<F>(data_fn: F) -> Arc<T>
396
397
0 commit comments