We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1d557 commit 77fa9f0Copy full SHA for 77fa9f0
std/src/sync/poison/rwlock.rs
@@ -46,11 +46,13 @@ use crate::sys::sync as sys;
46
///
47
/// # Poisoning
48
49
-/// An `RwLock`, like [`Mutex`], will usually become poisoned on a panic. Note,
+/// An `RwLock`, like [`Mutex`], will [usually] become poisoned on a panic. Note,
50
/// however, that an `RwLock` may only be poisoned if a panic occurs while it is
51
/// locked exclusively (write mode). If a panic occurs in any reader, then the
52
/// lock will not be poisoned.
53
54
+/// [usually]: super::Mutex#poisoning
55
+///
56
/// # Examples
57
58
/// ```
0 commit comments