diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-11 16:33:26 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-11 16:33:26 -0400 |
| commit | 462fc2d9aab8f0cba680caec344e4c388e9901b1 (patch) | |
| tree | 6b401c5ed4920c2ec8093d5c49976fe0b72573c2 /src/mutex.rs | |
| parent | 5eaa4fe1d3bfcda696122ba3d6b4914dba19ef96 (diff) | |
Documentation
Diffstat (limited to 'src/mutex.rs')
| -rw-r--r-- | src/mutex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.rs b/src/mutex.rs index 0da1460..b36854b 100644 --- a/src/mutex.rs +++ b/src/mutex.rs @@ -33,7 +33,7 @@ pub type ParkingMutex<T> = Mutex<T, parking_lot::RawMutex>; /// [`ThreadKey`]: `crate::ThreadKey` pub struct Mutex<T: ?Sized, R> { raw: R, - value: UnsafeCell<T>, + data: UnsafeCell<T>, } /// A reference to a mutex that unlocks it when dropped |
