Skip to content

Commit 068a8d1

Browse files
committed
Minor comment tweaks
1 parent e413dc3 commit 068a8d1

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_data_structures

1 file changed

+2
-2
lines changed

src/librustc_data_structures/sync.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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,
@@ -12,7 +12,7 @@
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).

0 commit comments

Comments
 (0)