From 649821f8e9c08cb2e35bf850d8ea30189b0ece13 Mon Sep 17 00:00:00 2001 From: kamuik16 Date: Sat, 14 Dec 2024 13:08:30 +0530 Subject: [PATCH] clippy --- protocols/identify/tests/smoke.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protocols/identify/tests/smoke.rs b/protocols/identify/tests/smoke.rs index 8ebc9fdb459..41ca1cf307f 100644 --- a/protocols/identify/tests/smoke.rs +++ b/protocols/identify/tests/smoke.rs @@ -429,9 +429,7 @@ async fn configured_interval_starts_after_first_identify() { #[async_std::test] async fn reject_mismatched_public_key() { - let _ = tracing_subscriber::fmt() - .with_env_filter(EnvFilter::from_default_env()) - .try_init(); + libp2p_logging::with_default_env_filter(); let mut honest_swarm = Swarm::new_ephemeral(|identity| { identify::Behaviour::new(