chore: enforce `clippy::future_not_send` for `influxdb2_client`

pull/24376/head
Marco Neumann 2021-06-10 09:46:35 +02:00
parent 1c5a779b83
commit 3832987ecb
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ impl Client {
&self,
org: &str,
bucket: &str,
body: impl Into<Body>,
body: impl Into<Body> + Send,
) -> Result<(), RequestError> {
let body = body.into();
let write_url = format!("{}/api/v2/write", self.url);

View File

@ -5,7 +5,8 @@
missing_docs,
clippy::explicit_iter_loop,
clippy::use_self,
clippy::clone_on_ref_ptr
clippy::clone_on_ref_ptr,
clippy::future_not_send
)]
//! # influxdb2_client