summaryrefslogtreecommitdiff
path: root/src/mutex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.rs')
-rw-r--r--src/mutex.rs2
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