Skip to content

Commit a5e2cce

Browse files
authored
Rollup merge of #40052 - GuillaumeGomez:sunc_docs, r=frewsxcv
Add missing urls in MutexGuard docs r? @frewsxcv
2 parents efa4d80 + 088b727 commit a5e2cce

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)