Rollup merge of #33459 - frewsxcv:patch-29, r=guillaumegomez
Indicate struct names are code-like in doc-comment.
This commit is contained in:
commit
84e27738ef
@ -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.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user