We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a17c50 commit 5f7165aCopy full SHA for 5f7165a
lightning-background-processor/src/lib.rs
@@ -32,9 +32,7 @@ use std::time::{Duration, Instant};
32
use std::ops::Deref;
33
34
#[cfg(feature = "futures")]
35
-use futures::select;
36
-#[cfg(feature = "futures")]
37
-use futures::future::FutureExt;
+use futures::{select, future::FutureExt};
38
39
/// `BackgroundProcessor` takes care of tasks that (1) need to happen periodically to keep
40
/// Rust-Lightning running properly, and (2) either can or should be run in the background. Its
0 commit comments