Update library/alloc/src/sync.rs · qinheping/verify-rust-std@cd8a7af (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit cd8a7af

matthewpipiedtolnay

and

authored

Update library/alloc/src/sync.rs

Co-authored-by: David Tolnay dtolnay@gmail.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -769,7 +769,7 @@ impl<T, A: Allocator> Arc<T, A> {
769 769 /// [`upgrade`]: Weak::upgrade
770 770 #[cfg(not(no_global_oom_handling))]
771 771 #[inline]
772 -#[stable(feature = "arc_new_cyclic", since = "1.60.0")]
772 +#[unstable(feature = "allocator_api", issue = "32838")]
773 773 pub fn new_cyclic_in<F>(data_fn: F, alloc: A) -> Arc<T, A>
774 774 where
775 775 F: FnOnce(&Weak<T, A>) -> T,