summaryrefslogtreecommitdiff
path: root/src/mutex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.rs')
-rw-r--r--src/mutex.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mutex.rs b/src/mutex.rs
index 431eedc..ed8d4a4 100644
--- a/src/mutex.rs
+++ b/src/mutex.rs
@@ -49,6 +49,5 @@ pub struct MutexRef<'a, T: ?Sized + 'a, R: RawMutex>(&'a Mutex<T, R>);
pub struct MutexGuard<'a, 'key: 'a, T: ?Sized + 'a, Key: Keyable + 'key, R: RawMutex> {
mutex: MutexRef<'a, T, R>,
thread_key: Key,
- _phantom1: PhantomData<*const ()>, // implement !Send
_phantom2: PhantomData<&'key ()>,
}