Remove bound from into_make_service_with_connect_info (#892)

Fixes #859
This commit is contained in:
David Pedersen
2022-03-31 16:49:49 +00:00
committed by GitHub
parent 2e5d56a9b1
commit 21552fe434
7 changed files with 16 additions and 23 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ async fn main() {
let app = Router::new().route("/", get(handler));
axum::Server::builder(ServerAccept { uds })
.serve(app.into_make_service_with_connect_info::<UdsConnectInfo, _>())
.serve(app.into_make_service_with_connect_info::<UdsConnectInfo>())
.await
.unwrap();
});