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:
@@ -73,8 +73,7 @@ async fn main() {
|
||||
listener,
|
||||
app.into_make_service_with_connect_info::<SocketAddr>(),
|
||||
)
|
||||
.await
|
||||
.unwrap();
|
||||
.await;
|
||||
}
|
||||
|
||||
/// The handler for the HTTP request (this gets called when the HTTP request lands at the start
|
||||
|
||||
Reference in New Issue
Block a user