chiark / gitweb /
clippy: consistently allow complexity, rather than individual lints
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 17:53:32 +0000 (18:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 21:24:01 +0000 (22:24 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
build.rs
server/server.rs
src/lib.rs

index 78dee7a500fa36676173f5e01badf4ed19c3f31a..ce9809fa685dd67388d3a0523f8065dc327b6e9f 100644 (file)
--- a/build.rs
+++ b/build.rs
@@ -1,3 +1,6 @@
+#![allow(clippy::style)]
+#![allow(clippy::complexity)]
+
 use serde::Deserialize;
 use std::process::Command;
 
index 82cb47e14712bbe74a1f22f2af084bd6bb9bf2f2..96b9d9b43ddbbb6637bb42955c3d19a1e718916d 100644 (file)
@@ -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::*;
 
index 946b757f7688f2ec463c29c17a9c110578ac45f1..56f957c77543bbc3b67943c56d3e88b0a06d2401 100644 (file)
 //! [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;