diff --git a/iroh-dns/src/discovery.rs b/iroh-dns/src/discovery.rs index 117627bf89b..a99ab9acb1c 100644 --- a/iroh-dns/src/discovery.rs +++ b/iroh-dns/src/discovery.rs @@ -1,4 +1,4 @@ -use std::{sync::Arc}; +use std::sync::Arc; use anyhow::Result; use futures::future::{BoxFuture, FutureExt}; diff --git a/iroh-dns/src/publish.rs b/iroh-dns/src/publish.rs index 8942a4235fd..91aa71c7a08 100644 --- a/iroh-dns/src/publish.rs +++ b/iroh-dns/src/publish.rs @@ -46,7 +46,7 @@ pub struct Publisher { #[debug("PkarrClient")] pkarr_client: PkarrClient, #[debug(skip)] - last_announce: RwLock> + last_announce: RwLock>, } impl Publisher { @@ -59,7 +59,7 @@ impl Publisher { signing_key, pkarr_relay: config.pkarr_relay, pkarr_client, - last_announce: Default::default() + last_announce: Default::default(), } } diff --git a/iroh/src/commands/start.rs b/iroh/src/commands/start.rs index 9c999b2aa29..fd26a554698 100644 --- a/iroh/src/commands/start.rs +++ b/iroh/src/commands/start.rs @@ -14,7 +14,7 @@ use iroh::{ rpc_protocol::{ProviderRequest, ProviderResponse, ProviderService}, util::{fs::load_secret_key, path::IrohPaths}, }; -use iroh_dns::discovery::{DnsDiscovery}; +use iroh_dns::discovery::DnsDiscovery; use iroh_net::{ derp::{DerpMap, DerpMode}, key::SecretKey, diff --git a/iroh/src/node.rs b/iroh/src/node.rs index 24b900a7a3d..3ca85fa826d 100644 --- a/iroh/src/node.rs +++ b/iroh/src/node.rs @@ -35,9 +35,9 @@ use iroh_gossip::net::{Gossip, GOSSIP_ALPN}; use iroh_io::AsyncSliceReader; use iroh_net::derp::DerpUrl; use iroh_net::magic_endpoint::get_alpn; +use iroh_net::magicsock::Discovery; use iroh_net::magicsock::LocalEndpointsStream; use iroh_net::util::AbortingJoinHandle; -use iroh_net::magicsock::Discovery; use iroh_net::{ derp::DerpMode, key::{PublicKey, SecretKey}, @@ -289,7 +289,7 @@ where .derp_mode(self.derp_mode); let endpoint = match self.node_discovery { Some(discovery) => endpoint.discovery(discovery), - None => endpoint + None => endpoint, }; let endpoint = match self.peers_data_path { Some(path) => endpoint.peers_data_path(path),