Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
wilt00 committed Dec 2, 2023
1 parent 28bf790 commit 14c4d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion scripty_config/src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ pub enum BotListsConfig {
FullConfig { token: String, webhook: String },
}


#[cfg(test)]
mod tests {
use std::{
Expand Down
8 changes: 5 additions & 3 deletions scripty_stt/src/load_balancer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)),
}
}

Expand Down

0 comments on commit 14c4d08

Please sign in to comment.