projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
impl Deref for EmptyNodeIdLookUp
[rust-lightning]
/
lightning
/
src
/
sync
/
nostd_sync.rs
diff --git
a/lightning/src/sync/nostd_sync.rs
b/lightning/src/sync/nostd_sync.rs
index 27cfb9b8f782c4bafabecd5180a5d0d2256105c3..0f92bd6caa3ad7c914b304db24d5fa69a8456b85 100644
(file)
--- a/
lightning/src/sync/nostd_sync.rs
+++ b/
lightning/src/sync/nostd_sync.rs
@@
-37,10
+37,6
@@
impl<T> Mutex<T> {
Ok(MutexGuard { lock: self.inner.borrow_mut() })
}
- pub fn try_lock<'a>(&'a self) -> LockResult<MutexGuard<'a, T>> {
- Ok(MutexGuard { lock: self.inner.borrow_mut() })
- }
-
pub fn into_inner(self) -> LockResult<T> {
Ok(self.inner.into_inner())
}