fix: Don't use clippy::use_self in influxdb2_client due to false positive

See https://github.com/rust-lang/rust-clippy/issues/6902

It's an interaction between clippy and serde; the lint produces
confusing and incorrect warnings.
pull/24376/head
Carol (Nichols || Goulding) 2022-05-19 15:20:09 -04:00
parent 792c394cf2
commit 53a94c4c7b
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
#![deny(rustdoc::broken_intra_doc_links, rustdoc::bare_urls, rust_2018_idioms)]
// `clippy::use_self` is deliberately excluded from the lints this crate uses.
// See <https://github.com/rust-lang/rust-clippy/issues/6902>.
#![warn(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
clippy::explicit_iter_loop,
clippy::use_self,
clippy::clone_on_ref_ptr,
clippy::future_not_send
)]