diff options
| author | Ronald Kinard <[email protected]> | 2017-03-11 23:20:34 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-11 23:20:34 -0600 |
| commit | 368ee624e72342db4b142946ae0f4e3443bdf0d4 (patch) | |
| tree | 8ed882bdd90d8d7a7f00cef25a99e06ed0ed2cc6 /ctr-std/src/sync/mutex.rs | |
| parent | Merge pull request #24 from FenrirWolf/unit_type (diff) | |
| parent | Bump minimum thread stack size (diff) | |
| download | ctru-rs-368ee624e72342db4b142946ae0f4e3443bdf0d4.tar.xz ctru-rs-368ee624e72342db4b142946ae0f4e3443bdf0d4.zip | |
Merge pull request #26 from FenrirWolf/thread
Initial thread support
Diffstat (limited to 'ctr-std/src/sync/mutex.rs')
| -rw-r--r-- | ctr-std/src/sync/mutex.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ctr-std/src/sync/mutex.rs b/ctr-std/src/sync/mutex.rs index 0d6ad5e..97b84d5 100644 --- a/ctr-std/src/sync/mutex.rs +++ b/ctr-std/src/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 |