From: Ian Jackson Date: Sun, 10 May 2026 17:53:32 +0000 (+0100) Subject: clippy: consistently allow complexity, rather than individual lints X-Git-Tag: debian/1.3.3~1^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=873546904a1c10a05ca2ab538c619100996a7850;p=hippotat.git clippy: consistently allow complexity, rather than individual lints Signed-off-by: Ian Jackson --- diff --git a/build.rs b/build.rs index 78dee7a..ce9809f 100644 --- a/build.rs +++ b/build.rs @@ -1,3 +1,6 @@ +#![allow(clippy::style)] +#![allow(clippy::complexity)] + use serde::Deserialize; use std::process::Command; diff --git a/server/server.rs b/server/server.rs index 82cb47e..96b9d9b 100644 --- a/server/server.rs +++ b/server/server.rs @@ -3,10 +3,7 @@ // There is NO WARRANTY. #![allow(clippy::style)] - -#![allow(clippy::unit_arg)] -#![allow(clippy::useless_format)] -#![allow(clippy::while_let_loop)] +#![allow(clippy::complexity)] use hippotat::prelude::*; diff --git a/src/lib.rs b/src/lib.rs index 946b757..56f957c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,13 +11,7 @@ //! [project documentation](https://www.chiark.greenend.org.uk/~ianmdlvl/hippotat/current/docs/) #![allow(clippy::style)] - -#![allow(clippy::clone_on_copy)] -#![allow(clippy::map_flatten)] -#![allow(clippy::match_single_binding)] -#![allow(clippy::single_char_pattern)] -#![allow(clippy::unit_arg)] -#![allow(clippy::useless_format)] +#![allow(clippy::complexity)] pub mod prelude;