projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix `ProbabilisticScorer` aliasing in `no-std` mode
[rust-lightning]
/
lightning
/
src
/
debug_sync.rs
diff --git
a/lightning/src/debug_sync.rs
b/lightning/src/debug_sync.rs
index b31ceacea15852def4203b037d8e36216094f5c4..6b36682f43233f876dcacaf2e1ae34da0fef5e4e 100644
(file)
--- a/
lightning/src/debug_sync.rs
+++ b/
lightning/src/debug_sync.rs
@@
-362,3
+362,5
@@
fn read_write_lockorder_fail() {
let _a = a.write().unwrap();
}
}
+
+pub type FairRwLock<T> = RwLock<T>;