Update library/alloc/src/sync.rs · qinheping/verify-rust-std@cd8a7af (original) (raw)
| 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, |