From b4858372472ba52a5337c5a7a2fd24038019ecc0 Mon Sep 17 00:00:00 2001 From: tupe12334 Date: Sun, 21 Jun 2026 09:10:50 +0300 Subject: [PATCH] chore(lint): enable clippy::unnested_or_patterns Promote clippy::unnested_or_patterns to deny in core/Cargo.toml, continuing the incremental clippy ratchet. Collapses repeated outer constructors in or-patterns (e.g. Some(1) | Some(2) -> Some(1 | 2)). Zero existing violations; clippy, build and tests pass. Closes #167 Co-Authored-By: Claude Opus 4.8 (1M context) --- core/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Cargo.toml b/core/Cargo.toml index 6d801c0..2d1e1f1 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -67,6 +67,7 @@ missing_panics_doc = "deny" panic = "deny" let_underscore_untyped = "deny" needless_raw_string_hashes = "deny" +unnested_or_patterns = "deny" absolute_paths = "deny" indexing_slicing = "deny" exhaustive_structs = "deny"