Skip to content

Commit 5088b69

Browse files
committed
fix a mistake in the Box<dyn HttpClient> implementation
1 parent b7d904f commit 5088b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ pub type Error = http_types::Error;
7070
#[async_trait]
7171
impl HttpClient for Box<dyn HttpClient> {
7272
async fn send(&self, req: Request) -> Result<Response, Error> {
73-
self.send(req).await
73+
self.as_ref().send(req).await
7474
}
7575
}

0 commit comments

Comments
 (0)