Update library/alloc/src/sync.rs · qinheping/verify-rust-std@cd8a7af (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit cd8a7af
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, |