Skip to content

Commit

Permalink
Use Send-less BoxFuture for HttpClient Service impl on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte authored and poljar committed Jan 17, 2025
1 parent 2bd8c56 commit f7db52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk/src/http_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async fn response_to_http_response(
impl tower::Service<http::Request<Bytes>> for HttpClient {
type Response = http::Response<Bytes>;
type Error = tower::BoxError;
type Future = futures_core::future::BoxFuture<'static, Result<Self::Response, Self::Error>>;
type Future = matrix_sdk_base::BoxFuture<'static, Result<Self::Response, Self::Error>>;

fn poll_ready(
&mut self,
Expand Down

0 comments on commit f7db52e

Please sign in to comment.