Skip to content

Commit 4e3c530

Browse files
committed
f missing no-std
1 parent 93b2dc8 commit 4e3c530

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/sync/nostd_sync.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ impl<T> Mutex<T> {
6060
pub fn try_lock<'a>(&'a self) -> LockResult<MutexGuard<'a, T>> {
6161
Ok(MutexGuard { lock: self.inner.borrow_mut() })
6262
}
63+
64+
pub fn into_inner(self) -> LockResult<T> {
65+
Ok(self.lock.into_inner())
66+
}
6367
}
6468

6569
impl<T> LockTestExt for Mutex<T> {

0 commit comments

Comments
 (0)