Skip to content

Commit

Permalink
Update library/alloc/src/sync.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Tolnay <dtolnay@gmail.com>
  • Loading branch information
matthewpipie and dtolnay authored Sep 17, 2024
1 parent a9cf084 commit cd8a7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ impl<T, A: Allocator> Arc<T, A> {
/// [`upgrade`]: Weak::upgrade
#[cfg(not(no_global_oom_handling))]
#[inline]
#[stable(feature = "arc_new_cyclic", since = "1.60.0")]
#[unstable(feature = "allocator_api", issue = "32838")]
pub fn new_cyclic_in<F>(data_fn: F, alloc: A) -> Arc<T, A>
where
F: FnOnce(&Weak<T, A>) -> T,
Expand Down

0 comments on commit cd8a7af

Please sign in to comment.