diff --git a/crates/wasi-http/src/p3/request.rs b/crates/wasi-http/src/p3/request.rs index 440d81b28ea8..11b5dde76dd0 100644 --- a/crates/wasi-http/src/p3/request.rs +++ b/crates/wasi-http/src/p3/request.rs @@ -89,7 +89,7 @@ impl Request { req: http::Request, ) -> ( Self, - impl Future> + Send + 'static, + impl Future> + Send + 'static + use, ) where T: http_body::Body + Send + 'static, diff --git a/crates/wasi-http/src/p3/response.rs b/crates/wasi-http/src/p3/response.rs index f4ad8dc4467e..7b41974f0cac 100644 --- a/crates/wasi-http/src/p3/response.rs +++ b/crates/wasi-http/src/p3/response.rs @@ -94,7 +94,7 @@ impl Response { res: http::Response, ) -> ( Self, - impl Future> + Send + 'static, + impl Future> + Send + 'static + use, ) where T: http_body::Body + Send + 'static,