Skip to content

Commit 4f5ae10

Browse files
committed
Fix new warnings causing CI build failures on rustc beta
1 parent 8354e0c commit 4f5ae10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning-rapid-gossip-sync/src/processing.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ use lightning::io;
1616

1717
use crate::{GraphSyncError, RapidGossipSync};
1818

19-
#[cfg(all(feature = "std", not(test)))]
19+
#[cfg(all(not(feature = "std"), not(test)))]
2020
use std::time::{SystemTime, UNIX_EPOCH};
2121

22-
#[cfg(not(feature = "std"))]
22+
#[cfg(all(not(feature = "std"), not(test)))]
2323
use alloc::{vec::Vec, borrow::ToOwned};
2424

2525
/// The purpose of this prefix is to identify the serialization format, should other rapid gossip

0 commit comments

Comments
 (0)