diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-19 17:51:50 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-19 18:12:18 -0700 |
| commit | 4c8a4d241a984fdc0b8a015dceca2a006f2b7146 (patch) | |
| tree | 7772fcd323bf89dc475f9c9edb432bdf1fecc092 /src/libstd/sync/mod.rs | |
| parent | 73729e94c87281dd7193dbdc86b4de2963b8fd72 (diff) | |
| download | rust-4c8a4d241a984fdc0b8a015dceca2a006f2b7146.tar.gz rust-4c8a4d241a984fdc0b8a015dceca2a006f2b7146.zip | |
std: Remove UnsafeArc
This type has been superseded by Arc<Unsafe<T>>. The UnsafeArc type is a relic of an era that has long since past, and with the introduction of liballoc the standard library is able to use the Arc smart pointer. With little need left for UnsafeArc, it was removed. All existing code using UnsafeArc should either be reevaluated to whether it can use only Arc, or it should transition to Arc<Unsafe<T>> [breaking-change]
Diffstat (limited to 'src/libstd/sync/mod.rs')
| -rw-r--r-- | src/libstd/sync/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/sync/mod.rs b/src/libstd/sync/mod.rs index 3213c538152..b2cf427edc8 100644 --- a/src/libstd/sync/mod.rs +++ b/src/libstd/sync/mod.rs @@ -15,7 +15,6 @@ //! and/or blocking at all, but rather provide the necessary tools to build //! other types of concurrent primitives. -pub mod arc; pub mod atomics; pub mod deque; pub mod mpmc_bounded_queue; |
