Skip to content

Commit

Permalink
fix comment referencing RwLock
Browse files Browse the repository at this point in the history
  • Loading branch information
ville-h committed Jan 4, 2015
1 parent 44b3dde commit fee1f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sync/poison.rs
Expand Up @@ -49,7 +49,7 @@ pub struct Guard {

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

0 comments on commit fee1f2a

Please sign in to comment.