Skip to content

Commit fe4038f

Browse files
committed
fix: formatting
1 parent 5d201b5 commit fe4038f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/proxy.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,7 @@ impl ProxyServer {
396396
bind_listener(addr).await?
397397
} else {
398398
// No address specified, find available port in 8000-8999 range on localhost
399-
bind_to_available_port(8000, 8999, std::net::IpAddr::V4(Ipv4Addr::LOCALHOST))
400-
.await?
399+
bind_to_available_port(8000, 8999, std::net::IpAddr::V4(Ipv4Addr::LOCALHOST)).await?
401400
};
402401

403402
let http_port = http_listener.local_addr()?.port();
@@ -438,8 +437,7 @@ impl ProxyServer {
438437
bind_listener(addr).await?
439438
} else {
440439
// No address specified, find available port in 8000-8999 range on localhost
441-
bind_to_available_port(8000, 8999, std::net::IpAddr::V4(Ipv4Addr::LOCALHOST))
442-
.await?
440+
bind_to_available_port(8000, 8999, std::net::IpAddr::V4(Ipv4Addr::LOCALHOST)).await?
443441
};
444442

445443
let https_port = https_listener.local_addr()?.port();

0 commit comments

Comments
 (0)