Skip to content

Commit 576e52c

Browse files
committed
chore: fmt
1 parent 66fcb43 commit 576e52c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

iroh-dns/src/discovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::{sync::Arc};
1+
use std::sync::Arc;
22

33
use anyhow::Result;
44
use futures::future::{BoxFuture, FutureExt};

iroh-dns/src/publish.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub struct Publisher {
4646
#[debug("PkarrClient")]
4747
pkarr_client: PkarrClient,
4848
#[debug(skip)]
49-
last_announce: RwLock<Option<NodeAnnounce>>
49+
last_announce: RwLock<Option<NodeAnnounce>>,
5050
}
5151

5252
impl Publisher {
@@ -59,7 +59,7 @@ impl Publisher {
5959
signing_key,
6060
pkarr_relay: config.pkarr_relay,
6161
pkarr_client,
62-
last_announce: Default::default()
62+
last_announce: Default::default(),
6363
}
6464
}
6565

iroh/src/commands/start.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use iroh::{
1414
rpc_protocol::{ProviderRequest, ProviderResponse, ProviderService},
1515
util::{fs::load_secret_key, path::IrohPaths},
1616
};
17-
use iroh_dns::discovery::{DnsDiscovery};
17+
use iroh_dns::discovery::DnsDiscovery;
1818
use iroh_net::{
1919
derp::{DerpMap, DerpMode},
2020
key::SecretKey,

iroh/src/node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ use iroh_gossip::net::{Gossip, GOSSIP_ALPN};
3535
use iroh_io::AsyncSliceReader;
3636
use iroh_net::derp::DerpUrl;
3737
use iroh_net::magic_endpoint::get_alpn;
38+
use iroh_net::magicsock::Discovery;
3839
use iroh_net::magicsock::LocalEndpointsStream;
3940
use iroh_net::util::AbortingJoinHandle;
40-
use iroh_net::magicsock::Discovery;
4141
use iroh_net::{
4242
derp::DerpMode,
4343
key::{PublicKey, SecretKey},
@@ -289,7 +289,7 @@ where
289289
.derp_mode(self.derp_mode);
290290
let endpoint = match self.node_discovery {
291291
Some(discovery) => endpoint.discovery(discovery),
292-
None => endpoint
292+
None => endpoint,
293293
};
294294
let endpoint = match self.peers_data_path {
295295
Some(path) => endpoint.peers_data_path(path),

0 commit comments

Comments
 (0)