diff options
| author | ville-h <ville3.14159@gmail.com> | 2015-01-04 13:26:25 +0200 |
|---|---|---|
| committer | ville-h <ville3.14159@gmail.com> | 2015-01-04 13:26:25 +0200 |
| commit | fee1f2ade962c913ba2da81f7a97ab39c6f66989 (patch) | |
| tree | 3b835c30b1c7fe4e6a560ffb5c3ba4a93a289b32 /src/libstd/sync | |
| parent | 44b3ddef8df7fa5392ce3608cbe1977f119337ee (diff) | |
| download | rust-fee1f2ade962c913ba2da81f7a97ab39c6f66989.tar.gz rust-fee1f2ade962c913ba2da81f7a97ab39c6f66989.zip | |
fix comment referencing RwLock
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/poison.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/poison.rs b/src/libstd/sync/poison.rs index 6e4df118209..385df45b400 100644 --- a/src/libstd/sync/poison.rs +++ b/src/libstd/sync/poison.rs @@ -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. |
