diff options
Diffstat (limited to 'src/mutex/mutex.rs')
| -rw-r--r-- | src/mutex/mutex.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mutex/mutex.rs b/src/mutex/mutex.rs index d744891..27a215f 100644 --- a/src/mutex/mutex.rs +++ b/src/mutex/mutex.rs @@ -61,10 +61,6 @@ unsafe impl<T: Send, R: RawMutex + Send + Sync> Lockable for Mutex<T, R> { = MutexRef<'g, T, R> where Self: 'g; - type ReadGuard<'g> - = MutexRef<'g, T, R> - where - Self: 'g; fn get_ptrs<'a>(&'a self, ptrs: &mut Vec<&'a dyn RawLock>) { ptrs.push(self); @@ -73,10 +69,6 @@ unsafe impl<T: Send, R: RawMutex + Send + Sync> Lockable for Mutex<T, R> { unsafe fn guard(&self) -> Self::Guard<'_> { MutexRef::new(self) } - - unsafe fn read_guard(&self) -> Self::ReadGuard<'_> { - MutexRef::new(self) - } } impl<T: Send, R: RawMutex + Send + Sync> LockableIntoInner for Mutex<T, R> { |
