Skip to content

Commit

Permalink
"make test-js" should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed May 4, 2023
1 parent e0ac912 commit 2f83b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wasi/src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pub fn default_http_client() -> Option<impl HttpClient + Send + Sync + 'static>
#[derive(Debug)]
enum Unimplemented {}
impl HttpClient for Unimplemented {
fn request(&self, request: HttpRequest) -> futures::future::BoxFuture<'_, Result<HttpResponse, anyhow::Error>> {
match self {}
fn request(&self, _request: HttpRequest) -> futures::future::BoxFuture<'_, Result<HttpResponse, anyhow::Error>> {
match *self {}
}
}

Expand Down

0 comments on commit 2f83b25

Please sign in to comment.