diff --git a/rust/src/http2/mod.rs b/rust/src/http2/mod.rs index 9aa6bbaac0..f1d6f30bb2 100644 --- a/rust/src/http2/mod.rs +++ b/rust/src/http2/mod.rs @@ -15,6 +15,8 @@ * 02110-1301, USA. */ +#![allow(clippy::result_unit_err)] + mod decompression; pub mod detect; pub mod http2; diff --git a/rust/src/lib.rs b/rust/src/lib.rs index d74f88527b..d7c323cda2 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -29,7 +29,6 @@ // To be fixed, but remove the noise for now. #![allow(clippy::match_like_matches_macro)] #![allow(clippy::module_inception)] -#![allow(clippy::result_unit_err)] #![allow(clippy::type_complexity)] #[macro_use]