Skip to content

Commit 088b727

Browse files
Add missing urls in MutexGuard docs
1 parent bfe4597 commit 088b727

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/sync/mutex.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,13 @@ unsafe impl<T: ?Sized + Send> Sync for Mutex<T> { }
133133
/// dropped (falls out of scope), the lock will be unlocked.
134134
///
135135
/// The data protected by the mutex can be access through this guard via its
136-
/// `Deref` and `DerefMut` implementations.
136+
/// [`Deref`] and [`DerefMut`] implementations.
137137
///
138138
/// This structure is created by the [`lock()`] and [`try_lock()`] methods on
139139
/// [`Mutex`].
140140
///
141+
/// [`Deref`]: ../../std/ops/trait.Deref.html
142+
/// [`DerefMut`]: ../../std/ops/trait.DerefMut.html
141143
/// [`lock()`]: struct.Mutex.html#method.lock
142144
/// [`try_lock()`]: struct.Mutex.html#method.try_lock
143145
/// [`Mutex`]: struct.Mutex.html

0 commit comments

Comments
 (0)