diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-24 13:23:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-24 13:23:00 +0100 |
| commit | 802a502ebd081a7c55cccf1dd34a127188d79323 (patch) | |
| tree | 0df3a60d0467b73924ece07d878439bb1e8a0fa5 /src/libstd/sync | |
| parent | 6f9e69a0fdf0bcf89281b6aefa14ecde2a111665 (diff) | |
| parent | 088b727456dde36954ca0e68de3d783c40ffa426 (diff) | |
| download | rust-802a502ebd081a7c55cccf1dd34a127188d79323.tar.gz rust-802a502ebd081a7c55cccf1dd34a127188d79323.zip | |
Rollup merge of #40052 - GuillaumeGomez:sunc_docs, r=frewsxcv
Add missing urls in MutexGuard docs r? @frewsxcv
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/mutex.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 0d6ad5e38e9..97b84d59218 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -133,11 +133,13 @@ unsafe impl<T: ?Sized + Send> Sync for Mutex<T> { } /// dropped (falls out of scope), the lock will be unlocked. /// /// The data protected by the mutex can be access through this guard via its -/// `Deref` and `DerefMut` implementations. +/// [`Deref`] and [`DerefMut`] implementations. /// /// This structure is created by the [`lock()`] and [`try_lock()`] methods on /// [`Mutex`]. /// +/// [`Deref`]: ../../std/ops/trait.Deref.html +/// [`DerefMut`]: ../../std/ops/trait.DerefMut.html /// [`lock()`]: struct.Mutex.html#method.lock /// [`try_lock()`]: struct.Mutex.html#method.try_lock /// [`Mutex`]: struct.Mutex.html |
