Bump workspace to rust edition 2018
[rust-lightning] / lightning / src / util / wakers.rs
index e55ba37ffd84c99ba19ddc625a5cfa7e9f23ed56..8eb6c25c6189b6aa27dcc62266dc9a40b709f689 100644 (file)
@@ -15,9 +15,9 @@
 
 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};
@@ -234,7 +234,7 @@ mod tests {
        #[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());