mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Use pin-project-lite instead of pin-project (#95)
This commit is contained in:
@@ -89,7 +89,9 @@ where
|
||||
fn call(&mut self, target: T) -> Self::Future {
|
||||
let connect_info = ConnectInfo(C::connect_info(target));
|
||||
let svc = AddExtension::new(self.svc.clone(), connect_info);
|
||||
ResponseFuture(futures_util::future::ok(svc))
|
||||
ResponseFuture {
|
||||
future: futures_util::future::ok(svc),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user