From d40b074c5a4085d67771ad606b1cdfeddfa050f6 Mon Sep 17 00:00:00 2001 From: Flix Date: Thu, 26 Sep 2024 17:46:05 +0200 Subject: [PATCH] Allow lint since it can degrade performance and does not hurt with optimizer --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 52a3a700..b06fbb0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,8 @@ trivial_numeric_casts = "warn" unused_extern_crates = "warn" [workspace.lints.clippy] -tabs_in_doc_comments = "allow" +tabs_in_doc_comments = "allow" # Rustfmt setting. +unnecessary_lazy_evaluations = "allow" # Performance better, because `Drop`. allow_attributes_without_reason = "warn" branches_sharing_code = "warn" cast_lossless = "warn"