Skip to content

Commit

Permalink
Deal with some clippy warnings in reqwest-wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
kettlebell committed Apr 16, 2022
1 parent f0027c6 commit fcdcb26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions reqwest-wrap/src/wasm/body.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::unused_unit)]
#[cfg(feature = "multipart")]
use super::multipart::Form;
/// dox
Expand Down
1 change: 1 addition & 0 deletions reqwest-wrap/src/wasm/client.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::unused_unit)]
use http::{HeaderMap, Method};
use js_sys::{Promise, JSON};
use std::rc::Rc;
Expand Down
1 change: 1 addition & 0 deletions reqwest-wrap/tests/wasm_simple.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![cfg(target_arch = "wasm32")]
#![allow(clippy::unused_unit)]

use reqwest_wrap as reqwest;
use std::time::Duration;
Expand Down

0 comments on commit fcdcb26

Please sign in to comment.