]> git.proxmox.com Git - rustc.git/blobdiff - vendor/lock_api/src/mutex.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / vendor / lock_api / src / mutex.rs
index e435d8aedb1a630772bce25e16977d9204560a2d..aded96d1846281b203bf9143910c128972353668 100644 (file)
@@ -601,7 +601,7 @@ unsafe impl<'a, R: RawMutex + Sync + 'a, T: ?Sized + Sync + 'a> Sync
     for MappedMutexGuard<'a, R, T>
 {
 }
-unsafe impl<'a, R: RawMutex + 'a, T: ?Sized + 'a> Send for MappedMutexGuard<'a, R, T> where
+unsafe impl<'a, R: RawMutex + 'a, T: ?Sized + Send + 'a> Send for MappedMutexGuard<'a, R, T> where
     R::GuardMarker: Send
 {
 }