summaryrefslogtreecommitdiff
path: root/src/rwlock/rwlock.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-02-07 10:41:37 -0500
committerMica White <botahamec@outlook.com>2026-02-07 10:41:37 -0500
commit9d928375ffc365d9ae4f4bc9be4a3c08fae47387 (patch)
tree51ab7220b32f82e44e4754ea6247c2bfdb295d2e /src/rwlock/rwlock.rs
parent8be852662a432d96553fcf7a9fc57c4f3c92baae (diff)
Fix doc links
Diffstat (limited to 'src/rwlock/rwlock.rs')
-rwxr-xr-xsrc/rwlock/rwlock.rs4
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,