diff options
| author | matthewpipie <matthewpipie@gmail.com> | 2024-09-16 20:05:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 20:05:15 -0500 |
| commit | 6750f042ca571407c8050693412d929ea1097b3f (patch) | |
| tree | 2fa11614666858221499f527f4ed0c5baf8acc0f | |
| parent | 550e55fec5cf3a11cf5b7372fda45465e4e6b4d0 (diff) | |
| download | rust-6750f042ca571407c8050693412d929ea1097b3f.tar.gz rust-6750f042ca571407c8050693412d929ea1097b3f.zip | |
Update library/alloc/src/sync.rs
Co-authored-by: David Tolnay <dtolnay@gmail.com>
| -rw-r--r-- | library/alloc/src/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index 496865e303b..63e4af34a57 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -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, |
