From 14c4d08414656fb593f17afc96acd35f294e09ac Mon Sep 17 00:00:00 2001 From: Test User Date: Fri, 1 Dec 2023 17:47:23 -0800 Subject: [PATCH] format --- scripty_config/src/cfg.rs | 1 - scripty_stt/src/load_balancer.rs | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripty_config/src/cfg.rs b/scripty_config/src/cfg.rs index a06dcfdd..b4b6da9e 100644 --- a/scripty_config/src/cfg.rs +++ b/scripty_config/src/cfg.rs @@ -96,7 +96,6 @@ pub enum BotListsConfig { FullConfig { token: String, webhook: String }, } - #[cfg(test)] mod tests { use std::{ diff --git a/scripty_stt/src/load_balancer.rs b/scripty_stt/src/load_balancer.rs index fc706d0a..d92a4093 100644 --- a/scripty_stt/src/load_balancer.rs +++ b/scripty_stt/src/load_balancer.rs @@ -42,9 +42,11 @@ impl LoadBalancer { .await .expect("Could not resolve stt hostname"), ), - SttServiceDefinition::IPTuple(addr, port) => { - peer_addresses.push(SocketAddr::new(addr.parse().expect("Could not parse IP address for stt server"), port)) - } + SttServiceDefinition::IPTuple(addr, port) => peer_addresses.push(SocketAddr::new( + addr.parse() + .expect("Could not parse IP address for stt server"), + port, + )), } }