mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
Fix return types of serve futures (#3601)
This commit is contained in:
@@ -50,7 +50,7 @@ async fn main() {
|
||||
.await
|
||||
.unwrap();
|
||||
tracing::debug!("Listening on {}", listener.local_addr().unwrap());
|
||||
axum::serve(listener, app(client)).await.unwrap();
|
||||
axum::serve(listener, app(client)).await;
|
||||
}
|
||||
|
||||
// defining routes and state
|
||||
|
||||
Reference in New Issue
Block a user