We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd52e1 commit 9fefdbbCopy full SHA for 9fefdbb
lightning/src/sync/mod.rs
@@ -46,7 +46,7 @@ mod ext_impl {
46
}
47
type ExclLock = MutexGuard<'a, T>;
48
#[inline]
49
- fn unsafe_well_ordered_double_lock_self(&'a self) -> MutexGuard<T> {
+ fn unsafe_well_ordered_double_lock_self(&'a self) -> MutexGuard<'a, T> {
50
self.lock().unwrap()
51
52
@@ -57,7 +57,7 @@ mod ext_impl {
57
58
type ExclLock = RwLockWriteGuard<'a, T>;
59
60
- fn unsafe_well_ordered_double_lock_self(&'a self) -> RwLockWriteGuard<T> {
+ fn unsafe_well_ordered_double_lock_self(&'a self) -> RwLockWriteGuard<'a, T> {
61
self.write().unwrap()
62
63
0 commit comments