about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2019-10-14 15:12:23 -0300
committerSantiago Pastorino <spastorino@gmail.com>2019-10-14 18:05:07 -0300
commit068a8d163cdbab740c62bb7cc802c62e2c4b90b2 (patch)
tree83325dfb66867a77cf3525ccf43f789d3d78076e
parente413dc36a83a5aad3ab6270373000693a917e92b (diff)
downloadrust-068a8d163cdbab740c62bb7cc802c62e2c4b90b2.tar.gz
rust-068a8d163cdbab740c62bb7cc802c62e2c4b90b2.zip
Minor comment tweaks
-rw-r--r--src/librustc_data_structures/sync.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_data_structures/sync.rs b/src/librustc_data_structures/sync.rs
index 3277b85c281..432fa3c527f 100644
--- a/src/librustc_data_structures/sync.rs
+++ b/src/librustc_data_structures/sync.rs
@@ -1,6 +1,6 @@
 //! This module defines types which are thread safe if cfg!(parallel_compiler) is true.
 //!
-//! `Lrc` is an alias of either Rc or Arc.
+//! `Lrc` is an alias of `Arc` if cfg!(parallel_compiler) is true, `Rc` otherwise.
 //!
 //! `Lock` is a mutex.
 //! It internally uses `parking_lot::Mutex` if cfg!(parallel_compiler) is true,
@@ -12,7 +12,7 @@
 //!
 //! `MTLock` is a mutex which disappears if cfg!(parallel_compiler) is false.
 //!
-//! `MTRef` is a immutable reference if cfg!(parallel_compiler), and an mutable reference otherwise.
+//! `MTRef` is an immutable reference if cfg!(parallel_compiler), and a mutable reference otherwise.
 //!
 //! `rustc_erase_owner!` erases a OwningRef owner into Erased or Erased + Send + Sync
 //! depending on the value of cfg!(parallel_compiler).