File tree Expand file tree Collapse file tree 3 files changed +84
-84
lines changed Expand file tree Collapse file tree 3 files changed +84
-84
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ pub use core::atomic;
22
22
23
23
pub use self :: mutex:: { Mutex , MutexGuard , StaticMutex } ;
24
24
pub use self :: mutex:: MUTEX_INIT ;
25
- pub use self :: rwlock:: { RWLock , StaticRWLock , RWLOCK_INIT } ;
26
- pub use self :: rwlock:: { RWLockReadGuard , RWLockWriteGuard } ;
25
+ pub use self :: rwlock:: { RwLock , StaticRwLock , RW_LOCK_INIT } ;
26
+ pub use self :: rwlock:: { RwLockReadGuard , RwLockWriteGuard } ;
27
27
pub use self :: condvar:: { Condvar , StaticCondvar , CONDVAR_INIT } ;
28
28
pub use self :: once:: { Once , ONCE_INIT } ;
29
29
pub use self :: semaphore:: { Semaphore , SemaphoreGuard } ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pub struct Guard {
49
49
50
50
/// A type of error which can be returned whenever a lock is acquired.
51
51
///
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
53
53
/// is held. The precise semantics for when a lock is poisoned is documented on
54
54
/// each lock, but once a lock is poisoned then all future acquisitions will
55
55
/// return this error.
You can’t perform that action at this time.
0 commit comments