Fix return types of serve futures (#3601)

This commit is contained in:
Jonas Platte
2025-12-28 09:25:50 +01:00
committed by GitHub
parent 370c6df40a
commit f3a95d786a
66 changed files with 105 additions and 122 deletions
+1 -3
View File
@@ -97,7 +97,5 @@ async fn redirect_http_to_https(ports: Ports) {
let addr = SocketAddr::from(([127, 0, 0, 1], ports.http));
let listener = tokio::net::TcpListener::bind(addr).await.unwrap();
tracing::debug!("listening on {}", listener.local_addr().unwrap());
axum::serve(listener, redirect.into_make_service())
.await
.unwrap();
axum::serve(listener, redirect.into_make_service()).await;
}