Skip to content

Commit fee1f2a

Browse files
committed
fix comment referencing RwLock
1 parent 44b3dde commit fee1f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/poison.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub struct Guard {
4949

5050
/// A type of error which can be returned whenever a lock is acquired.
5151
///
52-
/// Both Mutexes and RWLocks are poisoned whenever a task fails while the lock
52+
/// Both Mutexes and RwLocks are poisoned whenever a task fails while the lock
5353
/// is held. The precise semantics for when a lock is poisoned is documented on
5454
/// each lock, but once a lock is poisoned then all future acquisitions will
5555
/// return this error.

0 commit comments

Comments
 (0)