Skip to content

Commit

Permalink
Format Rust code using rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 19, 2023
1 parent b7d6782 commit dfe054e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl<A: Acceptor + Send> Server<A> {
let mut alt_svc_h3 = None;
for holding in acceptor.holdings() {
tracing::info!("listening {}", holding);
if holding.http_versions.contains(&Version::HTTP_3) {
if holding.http_versions.contains(&Version::HTTP_3) {
if let Some(addr) = holding.local_addr.clone().into_std() {
let port = addr.port();
alt_svc_h3 = Some(
Expand Down

0 comments on commit dfe054e

Please sign in to comment.