Remove io::Result from serve output type

This commit is contained in:
Jonas Platte
2025-04-26 22:56:40 +02:00
parent ffea2bcba5
commit a697d5badd
56 changed files with 69 additions and 88 deletions
+1 -3
View File
@@ -110,7 +110,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;
}