Fix new warnings causing CI build failures on rustc beta

This commit is contained in:
Matt Corallo 2024-03-20 19:14:40 +00:00
parent 1e54dd6a21
commit d639da9d23

View file

@ -19,7 +19,7 @@ use crate::{GraphSyncError, RapidGossipSync};
#[cfg(all(feature = "std", not(test)))]
use std::time::{SystemTime, UNIX_EPOCH};
#[cfg(not(feature = "std"))]
#[cfg(all(not(feature = "std"), not(test)))]
use alloc::{vec::Vec, borrow::ToOwned};
/// The purpose of this prefix is to identify the serialization format, should other rapid gossip