From fbb72ab180996759fd2ea67b768050981a9d6c30 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Wed, 3 May 2023 01:41:35 +0800 Subject: [PATCH] "make test-js" should work now --- lib/wasi/src/http/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wasi/src/http/mod.rs b/lib/wasi/src/http/mod.rs index bfdb37bf932..6cd101c705a 100644 --- a/lib/wasi/src/http/mod.rs +++ b/lib/wasi/src/http/mod.rs @@ -18,8 +18,8 @@ pub fn default_http_client() -> Option #[derive(Debug)] enum Unimplemented {} impl HttpClient for Unimplemented { - fn request(&self, request: HttpRequest) -> futures::future::BoxFuture<'_, Result> { - match self {} + fn request(&self, _request: HttpRequest) -> futures::future::BoxFuture<'_, Result> { + match *self {} } }