fix: use Default to create reqwest client
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 1m52s
Rust / build (map[name:stable]) (push) Successful in 4m19s
Release Please / Release-plz (push) Successful in 1m37s

This commit is contained in:
Paul Campbell 2024-11-09 17:19:42 +00:00
parent 02adc7dcd2
commit 4594a792e0

View file

@ -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<reqwest::Response> {