More formatting

This commit is contained in:
Robin Raymond 2022-05-07 20:00:46 +02:00
parent 0b6e6e3d63
commit 391f800705

View File

@ -513,7 +513,7 @@ impl<'rwlock, T: ?Sized> RwLockReadGuard<'rwlock, T> {
unsafe fn new(lock: &'rwlock RwLock<T>) -> LockResult<RwLockReadGuard<'rwlock, T>> {
poison::map_result(lock.poison.borrow(), |()| RwLockReadGuard {
inner_lock: &lock.inner,
data: &*lock.data.get()
data: &*lock.data.get(),
})
}
}