From 4594a792e0589f5f2a6c284723ffb67f19bf6289 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 9 Nov 2024 17:19:42 +0000 Subject: [PATCH] fix: use Default to create reqwest client --- src/net/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/system.rs b/src/net/system.rs index 4776e46..247f9b7 100644 --- a/src/net/system.rs +++ b/src/net/system.rs @@ -53,7 +53,7 @@ impl Net { impl Net { // public interface pub fn client(&self) -> reqwest::Client { - self.inner.client() + Default::default() } pub async fn send(&self, request: reqwest::RequestBuilder) -> Result {