File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustc_data_structures Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11//! This module defines types which are thread safe if cfg!(parallel_compiler) is true.
22//!
3- //! `Lrc` is an alias of either Rc or Arc .
3+ //! `Lrc` is an alias of `Arc` if cfg!(parallel_compiler) is true, `Rc` otherwise .
44//!
55//! `Lock` is a mutex.
66//! It internally uses `parking_lot::Mutex` if cfg!(parallel_compiler) is true,
1212//!
1313//! `MTLock` is a mutex which disappears if cfg!(parallel_compiler) is false.
1414//!
15- //! `MTRef` is a immutable reference if cfg!(parallel_compiler), and an mutable reference otherwise.
15+ //! `MTRef` is an immutable reference if cfg!(parallel_compiler), and a mutable reference otherwise.
1616//!
1717//! `rustc_erase_owner!` erases a OwningRef owner into Erased or Erased + Send + Sync
1818//! depending on the value of cfg!(parallel_compiler).
You can’t perform that action at this time.
0 commit comments