]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: sort clippy allow statements
authorJason Ish <jason.ish@oisf.net>
Tue, 4 Oct 2022 14:16:04 +0000 (08:16 -0600)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Oct 2022 09:20:07 +0000 (11:20 +0200)
rust/src/lib.rs

index 3a65448e521b68befcf71323e265226f0b72161c..25e3c8a4fc1176e138cb2a26d26260628c8afd42 100644 (file)
 
 // 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::len_zero)]
+#![allow(clippy::let_and_return)]
+#![allow(clippy::manual_range_contains)]
 #![allow(clippy::missing_safety_doc)]
+#![allow(clippy::needless_bool)]
 #![allow(clippy::needless_return)]
 #![allow(clippy::redundant_field_names)]
-#![allow(clippy::len_zero)]
 #![allow(clippy::too_many_arguments)]
-#![allow(clippy::assign_op_pattern)]
-#![allow(clippy::manual_range_contains)]
 #![allow(clippy::vec_init_then_push)]
-#![allow(clippy::assertions_on_constants)]
-#![allow(clippy::let_and_return)]
-#![allow(clippy::needless_bool)]
-#![allow(clippy::char_lit_as_u8)]
-#![allow(clippy::len_without_is_empty)]
 
 // 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::collapsible_if)]
-#![allow(clippy::collapsible_else_if)]
-#![allow(clippy::unnecessary_cast)]
-#![allow(clippy::redundant_static_lifetimes)]
+#![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)]
+#![allow(clippy::explicit_counter_loop)]
+#![allow(clippy::extra_unused_lifetimes)]
+#![allow(clippy::field_reassign_with_default)]
 #![allow(clippy::for_loops_over_fallibles)]
-#![allow(clippy::needless_lifetimes)]
-#![allow(clippy::single_match)]
-#![allow(clippy::upper_case_acronyms)]
-#![allow(clippy::ptr_arg)]
-#![allow(clippy::new_without_default)]
-#![allow(clippy::needless_lifetimes)]
-#![allow(clippy::match_ref_pats)]
-#![allow(clippy::module_inception)]
-#![allow(clippy::needless_range_loop)]
 #![allow(clippy::if_same_then_else)]
+#![allow(clippy::large_enum_variant)]
+#![allow(clippy::manual_find)]
+#![allow(clippy::map_flatten)]
 #![allow(clippy::match_like_matches_macro)]
-#![allow(clippy::extra_unused_lifetimes)]
+#![allow(clippy::match_ref_pats)]
 #![allow(clippy::mixed_case_hex_literals)]
-#![allow(clippy::type_complexity)]
-#![allow(clippy::nonminimal_bool)]
+#![allow(clippy::module_inception)]
+#![allow(clippy::needless_lifetimes)]
+#![allow(clippy::needless_range_loop)]
 #![allow(clippy::never_loop)]
-#![allow(clippy::large_enum_variant)]
-#![allow(clippy::for_loops_over_fallibles)]
-#![allow(clippy::explicit_counter_loop)]
-#![allow(clippy::branches_sharing_code)]
-#![allow(clippy::while_let_loop)]
+#![allow(clippy::new_without_default)]
+#![allow(clippy::nonminimal_bool)]
+#![allow(clippy::ptr_arg)]
 #![allow(clippy::redundant_pattern_matching)]
-#![allow(clippy::field_reassign_with_default)]
-#![allow(clippy::bool_assert_comparison)]
-#![allow(clippy::derive_partial_eq_without_eq)]
-#![allow(clippy::manual_find)]
-#![allow(clippy::map_flatten)]
+#![allow(clippy::redundant_static_lifetimes)]
 #![allow(clippy::result_unit_err)]
+#![allow(clippy::single_match)]
+#![allow(clippy::type_complexity)]
+#![allow(clippy::unnecessary_cast)]
+#![allow(clippy::upper_case_acronyms)]
+#![allow(clippy::while_let_loop)]
 
 #[macro_use]
 extern crate bitflags;