fix: use Default to create reqwest client
This commit is contained in:
parent
02adc7dcd2
commit
4594a792e0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ impl Net {
|
||||||
impl Net {
|
impl Net {
|
||||||
// public interface
|
// public interface
|
||||||
pub fn client(&self) -> reqwest::Client {
|
pub fn client(&self) -> reqwest::Client {
|
||||||
self.inner.client()
|
Default::default()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn send(&self, request: reqwest::RequestBuilder) -> Result<reqwest::Response> {
|
pub async fn send(&self, request: reqwest::RequestBuilder) -> Result<reqwest::Response> {
|
||||||
|
|
Loading…
Reference in a new issue