]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: allow clippy::items_after_test_module
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 4 Jan 2024 08:51:33 +0000 (09:51 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 4 Jan 2024 14:51:21 +0000 (15:51 +0100)
As clippy began to complain about jsonbuilder.rs

rust/src/lib.rs

index 84b82bde19f75cf5438fa07b055542f04a3995ff..15e21c4057d1d4505ed8d4f6d6555b8bd720db55 100644 (file)
@@ -27,6 +27,9 @@
 #![allow(clippy::let_and_return)]
 #![allow(clippy::uninlined_format_args)]
 
+// We find this is beyond what the linter should flag.
+#![allow(clippy::items_after_test_module)]
+
 // We find this makes sense at time.
 #![allow(clippy::module_inception)]