projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove excess `channel_state` passing to macros
[rust-lightning]
/
lightning
/
src
/
util
/
wakers.rs
diff --git
a/lightning/src/util/wakers.rs
b/lightning/src/util/wakers.rs
index e55ba37ffd84c99ba19ddc625a5cfa7e9f23ed56..8eb6c25c6189b6aa27dcc62266dc9a40b709f689 100644
(file)
--- a/
lightning/src/util/wakers.rs
+++ b/
lightning/src/util/wakers.rs
@@
-15,9
+15,9
@@
use alloc::sync::Arc;
use core::mem;
use alloc::sync::Arc;
use core::mem;
-use sync::{Condvar, Mutex};
+use
crate::
sync::{Condvar, Mutex};
-use prelude::*;
+use
crate::
prelude::*;
#[cfg(any(test, feature = "std"))]
use std::time::{Duration, Instant};
#[cfg(any(test, feature = "std"))]
use std::time::{Duration, Instant};
@@
-234,7
+234,7
@@
mod tests {
#[cfg(feature = "std")]
#[test]
fn test_wait_timeout() {
#[cfg(feature = "std")]
#[test]
fn test_wait_timeout() {
- use sync::Arc;
+ use
crate::
sync::Arc;
use std::thread;
let persistence_notifier = Arc::new(Notifier::new());
use std::thread;
let persistence_notifier = Arc::new(Notifier::new());