diff --git a/rust/suricatactl/src/main.rs b/rust/suricatactl/src/main.rs index 54e6f64413..f0542c94c4 100644 --- a/rust/suricatactl/src/main.rs +++ b/rust/suricatactl/src/main.rs @@ -1,6 +1,11 @@ // SPDX-FileCopyrightText: Copyright 2023 Open Information Security Foundation // SPDX-License-Identifier: GPL-2.0-only +// Allow these patterns as its a style we like. +#![allow(clippy::needless_return)] +#![allow(clippy::let_and_return)] +#![allow(clippy::uninlined_format_args)] + use clap::Parser; use clap::Subcommand; use tracing::Level; diff --git a/rust/suricatasc/src/main.rs b/rust/suricatasc/src/main.rs index 884c87c2ea..3cf3f59311 100644 --- a/rust/suricatasc/src/main.rs +++ b/rust/suricatasc/src/main.rs @@ -1,6 +1,11 @@ // SPDX-FileCopyrightText: Copyright 2023 Open Information Security Foundation // SPDX-License-Identifier: GPL-2.0-only +// Allow these patterns as its a style we like. +#![allow(clippy::needless_return)] +#![allow(clippy::let_and_return)] +#![allow(clippy::uninlined_format_args)] + #[cfg(not(target_os = "windows"))] mod unix;