summaryrefslogtreecommitdiff
path: root/src/mutex.rs
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2024-03-11 22:26:02 -0400
committerMica White <botahamec@outlook.com>2024-03-11 22:26:02 -0400
commitef34f899313ed4e4c5e452aef2c670f7d51f1ca9 (patch)
treefcd6462f8633abf4d572ad10b3423e50d674d67a /src/mutex.rs
parent92ff1a5988cdea5851930e286fd8a0abfd744471 (diff)
Further fixes to trait bounds
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 ()>,
}