From 1e2a643e713167b5971fa51b0118d6022114638c Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Tue, 31 Oct 2023 23:53:03 +0100 Subject: [PATCH] deny more clippy lints --- src/lib.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 572f231..923a679 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,10 +17,20 @@ clippy::panic_in_result_fn, clippy::unwrap_in_result, clippy::unwrap_used, - // maybe we should use? clippy::string_slice, - // additional lints - clippy::empty_loop + clippy::empty_loop, + clippy::correctness, + clippy::needless_borrow, + clippy::cast_lossless, + clippy::obfuscated_if_else, + clippy::index_refutable_slice, + clippy::panic_in_result_fn, + clippy::unwrap_in_result, + clippy::exit, + clippy::todo, + clippy::expect_used, + clippy::unimplemented, + clippy::manual_strip, )] extern crate nom;