mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-19 00:00:14 +02:00
Fix return types of serve futures (#3601)
This commit is contained in:
@@ -52,7 +52,7 @@ mod unix {
|
||||
.route("/", get(handler))
|
||||
.into_make_service_with_connect_info::<UdsConnectInfo>();
|
||||
|
||||
axum::serve(uds, app).await.unwrap();
|
||||
axum::serve(uds, app).await;
|
||||
});
|
||||
|
||||
let stream = TokioIo::new(UnixStream::connect(path).await.unwrap());
|
||||
|
||||
Reference in New Issue
Block a user