about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/sync/poison/rwlock.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/std/src/sync/poison/rwlock.rs b/library/std/src/sync/poison/rwlock.rs
index 0a50b6c2d8f..2c92602bc87 100644
--- a/library/std/src/sync/poison/rwlock.rs
+++ b/library/std/src/sync/poison/rwlock.rs
@@ -46,11 +46,13 @@ use crate::sys::sync as sys;
 ///
 /// # Poisoning
 ///
-/// An `RwLock`, like [`Mutex`], will usually become poisoned on a panic. Note,
+/// An `RwLock`, like [`Mutex`], will [usually] 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.
 ///
+/// [usually]: super::Mutex#poisoning
+///
 /// # Examples
 ///
 /// ```