Skip to content

Commit d145cc0

Browse files
author
Michael-F-Bryan
committed
Give the Unimplemented HTTP client a Debug impl
1 parent f8a3796 commit d145cc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/wasi/src/http/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub fn default_http_client() -> Option<impl HttpClient + Send + Sync + 'static>
1515
// Note: We need something to use with turbofish otherwise returning
1616
// a plain None will complain about not being able to infer the "T"
1717
// in Option<T>
18+
#[derive(Debug)]
1819
enum Unimplemented {}
1920
impl HttpClient for Unimplemented {
2021
fn request(&self, request: HttpRequest) -> futures::future::BoxFuture<'_, Result<HttpResponse, anyhow::Error>> {

0 commit comments

Comments
 (0)