Documentation typo
This commit is contained in:
parent
08650fbb50
commit
0157593c74
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ impl<'rwlock, T: ?Sized> RwLockReadGuard<'rwlock, T> {
|
|||
}
|
||||
|
||||
impl<'rwlock, T: ?Sized> RwLockWriteGuard<'rwlock, T> {
|
||||
/// Create a new instance of `RwLockReadGuard<T>` from a `RwLock<T>`.
|
||||
/// Create a new instance of `RwLockWriteGuard<T>` from a `RwLock<T>`.
|
||||
///
|
||||
/// It is safe to call this function if and only if `lock.inner.write()` (or
|
||||
/// `lock.inner.try_write()`) has been successfully called before instantiating this object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue