mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
More formatting
This commit is contained in:
parent
0b6e6e3d63
commit
391f800705
@ -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(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user