Skip to content

Commit 40025e8

Browse files
committed
Indicate struct names are code-like in doc-comment.
1 parent a36c419 commit 40025e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sync/rwlock.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ use sys_common::rwlock as sys;
3838
///
3939
/// # Poisoning
4040
///
41-
/// RwLocks, like Mutexes, will become poisoned on panics. Note, however, that
42-
/// an RwLock may only be poisoned if a panic occurs while it is locked
41+
/// An `RwLock`, like `Mutex`, will become poisoned on a panic. Note, however,
42+
/// that an `RwLock` may only be poisoned if a panic occurs while it is locked
4343
/// exclusively (write mode). If a panic occurs in any reader, then the lock
4444
/// will not be poisoned.
4545
///

0 commit comments

Comments
 (0)