Beta compiler fixes (#5543)

* remove duplicate imports in gossip tests. get rid of duplicate trait bound locations

* more double import fixes

* cargo fmt
This commit is contained in:
realbigsean
2024-04-10 03:47:05 -04:00
committed by GitHub
parent b74da14261
commit d527d124dd
9 changed files with 8 additions and 19 deletions

View File

@@ -221,9 +221,7 @@ impl MessageCache {
#[cfg(test)]
mod tests {
use super::*;
use crate::types::RawMessage;
use crate::{IdentTopic as Topic, TopicHash};
use libp2p::identity::PeerId;
use crate::IdentTopic as Topic;
fn gen_testm(x: u64, topic: TopicHash) -> (MessageId, RawMessage) {
let default_id = |message: &RawMessage| {