about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-05-06 09:07:05 -0400
committerCorey Farwell <coreyf@rwell.org>2016-05-06 09:12:10 -0400
commit40025e8cd3214488444d34b2074e68231c8f1fc2 (patch)
tree75200cd26ac463bae8a75f39f21710c5ec435a57 /src/libstd
parenta36c41912ba91435d75ab5702ed8bc30116565fe (diff)
downloadrust-40025e8cd3214488444d34b2074e68231c8f1fc2.tar.gz
rust-40025e8cd3214488444d34b2074e68231c8f1fc2.zip
Indicate struct names are code-like in doc-comment.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sync/rwlock.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs
index 09b1b0a939d..cfb8ee16cb0 100644
--- a/src/libstd/sync/rwlock.rs
+++ b/src/libstd/sync/rwlock.rs
@@ -38,8 +38,8 @@ use sys_common::rwlock as sys;
 ///
 /// # Poisoning
 ///
-/// RwLocks, like Mutexes, will become poisoned on panics. Note, however, that
-/// an RwLock may only be poisoned if a panic occurs while it is locked
+/// An `RwLock`, like `Mutex`, will become poisoned on a panic. Note, however,
+/// that an `RwLock` may only be poisoned if a panic occurs while it is locked
 /// exclusively (write mode). If a panic occurs in any reader, then the lock
 /// will not be poisoned.
 ///