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, + )), } }