about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
commit84e27738effd0c44f0dc480753fc0affa56fd4a4 (patch)
tree4a21bdfb7f514938fb2996d83ac0b97b544464ab /src/libstd
parent099e0879aa00a81411166cde4a0641111cca38aa (diff)
parent40025e8cd3214488444d34b2074e68231c8f1fc2 (diff)
downloadrust-84e27738effd0c44f0dc480753fc0affa56fd4a4.tar.gz
rust-84e27738effd0c44f0dc480753fc0affa56fd4a4.zip
Rollup merge of #33459 - frewsxcv:patch-29, r=guillaumegomez
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.
 ///