Skip to content

Commit aba7748

Browse files
committed
Consolidate conditional imports
1 parent a1c3004 commit aba7748

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ use crate::prelude::*;
4242
use crate::ln::functional_test_utils;
4343
use crate::ln::functional_test_utils::*;
4444
use crate::routing::gossip::NodeId;
45+
4546
#[cfg(feature = "std")]
46-
use std::time::{SystemTime, Instant, Duration};
47-
#[cfg(feature = "std")]
48-
use crate::util::time::tests::SinceEpoch;
47+
use {
48+
crate::util::time::tests::SinceEpoch,
49+
std::time::{SystemTime, Instant, Duration},
50+
};
4951

5052
#[test]
5153
fn mpp_failure() {

0 commit comments

Comments
 (0)