diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-23 11:43:30 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-23 11:43:30 +0100 |
| commit | 088b727456dde36954ca0e68de3d783c40ffa426 (patch) | |
| tree | 4f4671f6a16f731307b4196092e5504e24c8f1b5 /src/libstd/sync | |
| parent | bfe45974a18af63191d40a6ac5beb0cf2ab9c9f7 (diff) | |
| download | rust-088b727456dde36954ca0e68de3d783c40ffa426.tar.gz rust-088b727456dde36954ca0e68de3d783c40ffa426.zip | |
Add missing urls in MutexGuard docs
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 |
