diff --git a/reqwest-wrap/src/wasm/body.rs b/reqwest-wrap/src/wasm/body.rs index b485f8b68..9e925e9c5 100644 --- a/reqwest-wrap/src/wasm/body.rs +++ b/reqwest-wrap/src/wasm/body.rs @@ -1,3 +1,4 @@ +#![allow(clippy::unused_unit)] #[cfg(feature = "multipart")] use super::multipart::Form; /// dox diff --git a/reqwest-wrap/src/wasm/client.rs b/reqwest-wrap/src/wasm/client.rs index aafead8e1..ef1fa65d0 100644 --- a/reqwest-wrap/src/wasm/client.rs +++ b/reqwest-wrap/src/wasm/client.rs @@ -1,3 +1,4 @@ +#![allow(clippy::unused_unit)] use http::{HeaderMap, Method}; use js_sys::{Promise, JSON}; use std::rc::Rc; diff --git a/reqwest-wrap/tests/wasm_simple.rs b/reqwest-wrap/tests/wasm_simple.rs index 7e7d35be2..1697f94f0 100644 --- a/reqwest-wrap/tests/wasm_simple.rs +++ b/reqwest-wrap/tests/wasm_simple.rs @@ -1,4 +1,5 @@ #![cfg(target_arch = "wasm32")] +#![allow(clippy::unused_unit)] use reqwest_wrap as reqwest; use std::time::Duration;