mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-23 00:00:15 +02:00
Remove io::Result from serve output type
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