diff options
Diffstat (limited to 'src/rwlock')
| -rwxr-xr-x | src/rwlock/rwlock.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rwlock/rwlock.rs b/src/rwlock/rwlock.rs index 98ac466..b93d8e2 100755 --- a/src/rwlock/rwlock.rs +++ b/src/rwlock/rwlock.rs @@ -336,6 +336,8 @@ impl<T: ?Sized, R: RawRwLock> RwLock<T, R> { /// Err(_) => unreachable!(), /// } /// ``` + /// + /// [`scoped_read`]: RwLock::scoped_read pub fn scoped_try_read<'a, Key: Keyable, Ret>( &'a self, key: Key, @@ -454,6 +456,8 @@ impl<T: ?Sized, R: RawRwLock> RwLock<T, R> { /// Err(_) => unreachable!(), /// } /// ``` + /// + /// [`scoped_write`]: RwLock::scoped_write pub fn scoped_try_write<'a, Key: Keyable, Ret>( &'a self, key: Key, |
