From 1e40df7fc2cbb77f8b1817ab78b74eff7488bcfa Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 22 Dec 2021 03:46:53 +0000 Subject: chore(fmt): auto-format --- crates/whirl_server/src/lib.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/crates/whirl_server/src/lib.rs b/crates/whirl_server/src/lib.rs index 2c53ad6..7e7db98 100644 --- a/crates/whirl_server/src/lib.rs +++ b/crates/whirl_server/src/lib.rs @@ -119,7 +119,11 @@ pub mod make { pub fn distributor() -> JoinHandle<()> { tokio::spawn(async move { crate::distributor::Distributor::listen( - &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().distributor.port), + &*format!( + "{}:{}", + Config::get().whirlsplash.ip, + Config::get().distributor.port + ), ServerType::Auto, ) .await @@ -136,7 +140,11 @@ pub mod make { pub fn hub() -> JoinHandle<()> { tokio::spawn(async move { crate::hub::Hub::listen( - &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().hub.port), + &*format!( + "{}:{}", + Config::get().whirlsplash.ip, + Config::get().hub.port + ), ServerType::Room, ) .await -- cgit v1.2.3