Skip to content

Commit 9fac656

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::{GraphSyncError, RapidGossipSync};
1919
#[cfg(all(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)