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 -1
View File
@@ -57,7 +57,7 @@ async fn main() {
// run it with hyper
let listener = TcpListener::bind("127.0.0.1:3000").await.unwrap();
tracing::debug!("listening on {}", listener.local_addr().unwrap());
axum::serve(listener, app).await.unwrap();
axum::serve(listener, app).await;
}
// we can extract the connection pool with `State`