Skip to content

Commit 6a810d0

Browse files
committed
f fix backtrace build
1 parent 08b8275 commit 6a810d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/sync/debug_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl LockMetadata {
149149
LOCKS_INIT.call_once(|| unsafe {
150150
LOCKS = Some(StdMutex::new(new_hash_map()));
151151
});
152-
let mut locks = unsafe { LOCKS.as_ref() }.unwrap().lock().unwrap();
152+
let mut locks = unsafe { LOCKS.as_ref() }.unwrap().lock();
153153
match locks.entry(lock_constr_location) {
154154
hash_map::Entry::Occupied(e) => {
155155
assert_eq!(lock_constr_colno,

0 commit comments

Comments
 (0)