summaryrefslogtreecommitdiff
path: root/src/mutex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.rs')
-rwxr-xr-xsrc/mutex.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mutex.rs b/src/mutex.rs
index 0d6aa73..d7b0176 100755
--- a/src/mutex.rs
+++ b/src/mutex.rs
@@ -170,6 +170,8 @@ pub struct MutexRef<'a, T: ?Sized + 'a, R: RawMutex>(&'a Mutex<T, R>, PhantomDat
//
// This is the most lifetime-intensive thing I've ever written. Can I graduate
// from borrow checker university now?
+//
+// As an update, I've now written `LockContext`. That was even more challenging
pub struct MutexGuard<'a, T: ?Sized + 'a, R: RawMutex> {
mutex: MutexRef<'a, T, R>, // this way we don't need to re-implement Drop
thread_key: ThreadKey,