This repository was archived by the owner on Jan 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,12 @@ impl Future for EventFuture {
131131
132132#[ cfg( test) ]
133133mod tests {
134- use super :: * ;
135- use crate :: lsps0:: event:: LSPS0ClientEvent ;
136- use bitcoin:: secp256k1:: { PublicKey , Secp256k1 , SecretKey } ;
137-
138134 #[ tokio:: test]
139135 #[ cfg( feature = "std" ) ]
140136 async fn event_queue_works ( ) {
137+ use super :: * ;
138+ use crate :: lsps0:: event:: LSPS0ClientEvent ;
139+ use bitcoin:: secp256k1:: { PublicKey , Secp256k1 , SecretKey } ;
141140 use core:: sync:: atomic:: { AtomicU16 , Ordering } ;
142141 use std:: sync:: Arc ;
143142 use std:: time:: Duration ;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ compile_error!("at least one of the `std` or `no-std` features must be enabled")
2525extern crate alloc;
2626
2727mod prelude {
28+ #![ allow( unused_imports) ]
2829 #[ cfg( feature = "hashbrown" ) ]
2930 extern crate hashbrown;
3031
Original file line number Diff line number Diff line change 1+ #![ allow( dead_code) ]
12//! This file was copied from `rust-lightning`.
23pub use :: alloc:: sync:: Arc ;
34use core:: cell:: { Ref , RefCell , RefMut } ;
You can’t perform that action at this time.
0 commit comments