mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 21:40:41 +01:00
Rust 1.85 (#25272)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
@@ -79,7 +79,7 @@ pub trait HttpClient: 'static + Send + Sync {
|
||||
.body(body);
|
||||
|
||||
match request {
|
||||
Ok(request) => Box::pin(async move { self.send(request).await.map_err(Into::into) }),
|
||||
Ok(request) => Box::pin(async move { self.send(request).await }),
|
||||
Err(e) => Box::pin(async move { Err(e.into()) }),
|
||||
}
|
||||
}
|
||||
@@ -96,7 +96,7 @@ pub trait HttpClient: 'static + Send + Sync {
|
||||
.body(body);
|
||||
|
||||
match request {
|
||||
Ok(request) => Box::pin(async move { self.send(request).await.map_err(Into::into) }),
|
||||
Ok(request) => Box::pin(async move { self.send(request).await }),
|
||||
Err(e) => Box::pin(async move { Err(e.into()) }),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user