aboutsummaryrefslogtreecommitdiff
path: root/src/diplonat.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-04 18:48:10 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-04 18:48:10 +0200
commit2d39adcabb898686cb63c10713e9d9b63efc5601 (patch)
treee83b5424bc1e89901d66525e457b49e78901da42 /src/diplonat.rs
parent615f926618471998f85ee184b378b1128340367b (diff)
downloaddiplonat-2d39adcabb898686cb63c10713e9d9b63efc5601.tar.gz
diplonat-2d39adcabb898686cb63c10713e9d9b63efc5601.zip
cargo fmt
Diffstat (limited to 'src/diplonat.rs')
-rw-r--r--src/diplonat.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/diplonat.rs b/src/diplonat.rs
index 6b282eb..4252f43 100644
--- a/src/diplonat.rs
+++ b/src/diplonat.rs
@@ -30,11 +30,7 @@ impl Diplonat {
)
.await?;
- let sa = StunActor::new(
- &rt_cfg.consul,
- &rt_cfg.stun,
- &rt_cfg.consul.node_name,
- );
+ let sa = StunActor::new(&rt_cfg.consul, &rt_cfg.stun, &rt_cfg.consul.node_name);
let ctx = Self {
consul: ca,