]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: remove clippy lints that no longer warn
authorJason Ish <jason.ish@oisf.net>
Tue, 4 Oct 2022 14:29:28 +0000 (08:29 -0600)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Oct 2022 09:20:07 +0000 (11:20 +0200)
rust/src/lib.rs

index 25e3c8a4fc1176e138cb2a26d26260628c8afd42..c2556987c3b7d25ee7bc7305e52399facd395791 100644 (file)
@@ -19,7 +19,6 @@
 
 // Clippy lints we want to suppress due to style, or simply too noisy
 // and not a priority right now.
-#![allow(clippy::assertions_on_constants)]
 #![allow(clippy::assign_op_pattern)]
 #![allow(clippy::char_lit_as_u8)]
 #![allow(clippy::len_without_is_empty)]
 #![allow(clippy::needless_return)]
 #![allow(clippy::redundant_field_names)]
 #![allow(clippy::too_many_arguments)]
-#![allow(clippy::vec_init_then_push)]
 
 // Would be good to fix, but needs more investigation with respect to
 // using as a library.
 #![allow(clippy::crate_in_macro_def)]
 
 // To be fixed, but remove the noise for now.
-#![allow(clippy::bool_assert_comparison)]
 #![allow(clippy::bool_comparison)]
-#![allow(clippy::branches_sharing_code)]
 #![allow(clippy::collapsible_else_if)]
 #![allow(clippy::collapsible_if)]
 #![allow(clippy::derive_partial_eq_without_eq)]