summaryrefslogtreecommitdiff
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
parent8be852662a432d96553fcf7a9fc57c4f3c92baae (diff)
Fix doc links
-rwxr-xr-xsrc/mutex/mutex.rs2
-rwxr-xr-xsrc/poisonable/poisonable.rs4
-rwxr-xr-xsrc/rwlock/rwlock.rs4
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mutex/mutex.rs b/src/mutex/mutex.rs
index 475c3ae..dc374aa 100755
--- a/src/mutex/mutex.rs
+++ b/src/mutex/mutex.rs
@@ -316,6 +316,8 @@ impl<T: ?Sized, R: RawMutex> Mutex<T, R> {
/// Err(_) => unreachable!(),
/// }
/// ```
+ ///
+ /// [`scoped_lock`]: Mutex::scoped_lock
pub fn scoped_try_lock<'a, Key: Keyable, Ret>(
&'a self,
key: Key,
diff --git a/src/poisonable/poisonable.rs b/src/poisonable/poisonable.rs
index c8225df..dd12cea 100755
--- a/src/poisonable/poisonable.rs
+++ b/src/poisonable/poisonable.rs
@@ -397,6 +397,8 @@ impl<L: Lockable + RawLock> Poisonable<L> {
/// Err(_) => unreachable!(),
/// }
/// ```
+ ///
+ /// [`scoped_lock`]: [`crate::Poisonable::scoped_lock`]
pub fn scoped_try_lock<'a, Key: Keyable, R>(
&'a self,
key: Key,
@@ -655,6 +657,8 @@ impl<L: Sharable + RawLock> Poisonable<L> {
/// Err(_) => unreachable!(),
/// }
/// ```
+ ///
+ /// [`scoped_read`]: crate::Poisonable::scoped_read
pub fn scoped_try_read<'a, Key: Keyable, R>(
&'a self,
key: Key,
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,