Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor alloc/sync.rs into separate files #81269

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
498 changes: 7 additions & 491 deletions library/alloc/src/sync.rs → library/alloc/src/sync/arc.rs

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions library/alloc/src/sync/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#![stable(feature = "rust1", since = "1.0.0")]

//! Thread-safe reference-counting pointers.
//!
//! See the [`Arc<T>`][Arc] documentation for more details.

mod arc;
mod weak;

#[stable(feature = "rust1", since = "1.0.0")]
pub use arc::Arc;

#[stable(feature = "rust1", since = "1.0.0")]
pub use weak::Weak;

use arc::ArcInner;
Loading