File tree 1 file changed +2
-2
lines changed
src/librustc_data_structures
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
//! This module defines types which are thread safe if cfg!(parallel_compiler) is true.
2
2
//!
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 .
4
4
//!
5
5
//! `Lock` is a mutex.
6
6
//! It internally uses `parking_lot::Mutex` if cfg!(parallel_compiler) is true,
12
12
//!
13
13
//! `MTLock` is a mutex which disappears if cfg!(parallel_compiler) is false.
14
14
//!
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.
16
16
//!
17
17
//! `rustc_erase_owner!` erases a OwningRef owner into Erased or Erased + Send + Sync
18
18
//! depending on the value of cfg!(parallel_compiler).
You can’t perform that action at this time.
0 commit comments