Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Feb 27, 2024
1 parent 66fcb43 commit 576e52c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion iroh-dns/src/discovery.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{sync::Arc};
use std::sync::Arc;

use anyhow::Result;
use futures::future::{BoxFuture, FutureExt};
Expand Down
4 changes: 2 additions & 2 deletions iroh-dns/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct Publisher {
#[debug("PkarrClient")]
pkarr_client: PkarrClient,
#[debug(skip)]
last_announce: RwLock<Option<NodeAnnounce>>
last_announce: RwLock<Option<NodeAnnounce>>,
}

impl Publisher {
Expand All @@ -59,7 +59,7 @@ impl Publisher {
signing_key,
pkarr_relay: config.pkarr_relay,
pkarr_client,
last_announce: Default::default()
last_announce: Default::default(),
}
}

Expand Down
2 changes: 1 addition & 1 deletion iroh/src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions iroh/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 576e52c

Please sign in to comment.