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 {
131
131
132
132
#[ cfg( test) ]
133
133
mod tests {
134
- use super :: * ;
135
- use crate :: lsps0:: event:: LSPS0ClientEvent ;
136
- use bitcoin:: secp256k1:: { PublicKey , Secp256k1 , SecretKey } ;
137
-
138
134
#[ tokio:: test]
139
135
#[ cfg( feature = "std" ) ]
140
136
async fn event_queue_works ( ) {
137
+ use super :: * ;
138
+ use crate :: lsps0:: event:: LSPS0ClientEvent ;
139
+ use bitcoin:: secp256k1:: { PublicKey , Secp256k1 , SecretKey } ;
141
140
use core:: sync:: atomic:: { AtomicU16 , Ordering } ;
142
141
use std:: sync:: Arc ;
143
142
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")
25
25
extern crate alloc;
26
26
27
27
mod prelude {
28
+ #![ allow( unused_imports) ]
28
29
#[ cfg( feature = "hashbrown" ) ]
29
30
extern crate hashbrown;
30
31
Original file line number Diff line number Diff line change
1
+ #![ allow( dead_code) ]
1
2
//! This file was copied from `rust-lightning`.
2
3
pub use :: alloc:: sync:: Arc ;
3
4
use core:: cell:: { Ref , RefCell , RefMut } ;
You can’t perform that action at this time.
0 commit comments