From ef34f899313ed4e4c5e452aef2c670f7d51f1ca9 Mon Sep 17 00:00:00 2001 From: Mica White Date: Mon, 11 Mar 2024 22:26:02 -0400 Subject: Further fixes to trait bounds --- src/mutex.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mutex.rs') 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); 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 ()>, } -- cgit v1.2.3