mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
Remove bound from into_make_service_with_connect_info (#892)
Fixes #859
This commit is contained in:
@@ -41,7 +41,7 @@ async fn main() {
|
||||
|
||||
let mut app = Router::new()
|
||||
.route("/", get(handler))
|
||||
.into_make_service_with_connect_info::<SocketAddr, _>();
|
||||
.into_make_service_with_connect_info::<SocketAddr>();
|
||||
|
||||
loop {
|
||||
let stream = poll_fn(|cx| Pin::new(&mut listener).poll_accept(cx))
|
||||
|
||||
Reference in New Issue
Block a user