Skip to content

Commit 6750f04

Browse files
Update library/alloc/src/sync.rs
Co-authored-by: David Tolnay <[email protected]>
1 parent 550e55f commit 6750f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ impl<T, A: Allocator> Arc<T, A> {
769769
/// [`upgrade`]: Weak::upgrade
770770
#[cfg(not(no_global_oom_handling))]
771771
#[inline]
772-
#[stable(feature = "arc_new_cyclic", since = "1.60.0")]
772+
#[unstable(feature = "allocator_api", issue = "32838")]
773773
pub fn new_cyclic_in<F>(data_fn: F, alloc: A) -> Arc<T, A>
774774
where
775775
F: FnOnce(&Weak<T, A>) -> T,

0 commit comments

Comments
 (0)