From cd888d0c1e39f7c78677ded63cc81da052458e79 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Thu, 26 Nov 2026 21:16:17 +0700 Subject: [PATCH] clippy: one disallowed-types table after merging main Main's egui::ComboBox ban and this PR's rsa private-key types each opened a disallowed-types array; TOML forbids the duplicate key, so clippy couldn't load the file. Both lists are now one array. --- clippy.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clippy.toml b/clippy.toml index 589de4f5b5..16518d262e 100644 --- a/clippy.toml +++ b/clippy.toml @@ -47,9 +47,6 @@ disallowed-types = [ { path = "rsa::pss::SigningKey", reason = "rsa is for verification only (RUSTSEC-2023-0071, ADR-0009); use aws-lc-rs" }, { path = "rsa::pss::BlindedSigningKey", reason = "rsa is for verification only (RUSTSEC-2023-0071, ADR-0009); use aws-lc-rs" }, { path = "rsa::oaep::DecryptingKey", reason = "rsa is for verification only (RUSTSEC-2023-0071, ADR-0009); use aws-lc-rs" }, -] -cognitive-complexity-threshold = 30 - -disallowed-types = [ { path = "egui::ComboBox", reason = "use craft_ui::ComboBox: egui's combo box menu can't grow back while open (egui#5225)" }, ] +cognitive-complexity-threshold = 30