diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-03 20:17:26 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-03 20:20:24 +1100 |
| commit | 32c5449d4523452f2a1d11f57f04997d4fb36592 (patch) | |
| tree | 8a7618deee5292c041c3a232537f818b240f1bb7 /src/doc | |
| parent | 5afd12239af03b4944429a2f5be10357f0044e89 (diff) | |
| download | rust-32c5449d4523452f2a1d11f57f04997d4fb36592.tar.gz rust-32c5449d4523452f2a1d11f57f04997d4fb36592.zip | |
Remove some unnecessary aliases from `rustc_data_structures::sync`
With the removal of `cfg(parallel_compiler)`, these are always shared references and `std::sync::OnceLock`.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/parallel-rustc.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/parallel-rustc.md b/src/doc/rustc-dev-guide/src/parallel-rustc.md index c5b70706a81..690fb19c9f5 100644 --- a/src/doc/rustc-dev-guide/src/parallel-rustc.md +++ b/src/doc/rustc-dev-guide/src/parallel-rustc.md @@ -46,10 +46,8 @@ are implemented differently depending on whether `parallel-compiler` is true. | data structure | parallel | non-parallel | | -------------------------------- | --------------------------------------------------- | ------------ | -| OnceCell | std::sync::OnceLock | std::cell::OnceCell | | Lock\<T> | (parking_lot::Mutex\<T>) | (std::cell::RefCell) | | RwLock\<T> | (parking_lot::RwLock\<T>) | (std::cell::RefCell) | -| MTRef<'a, T> | &'a T | &'a mut T | | MTLock\<T> | (Lock\<T>) | (T) | | ReadGuard | parking_lot::RwLockReadGuard | std::cell::Ref | | MappedReadGuard | parking_lot::MappedRwLockReadGuard | std::cell::Ref | |
