From d2acf9e1d0fb40d53476495252690efd0752fed7 Mon Sep 17 00:00:00 2001 From: tupe12334 Date: Wed, 1 Jul 2026 02:03:03 +0300 Subject: [PATCH] chore(lint): enable clippy::unimplemented Closes #18 --- lib/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index b92c17b..db5b531 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -37,6 +37,10 @@ unwrap_used = "deny" expect_used = "deny" panic = "deny" unreachable = "deny" +# Forbid `unimplemented!()`, a deliberate panic for unfinished code paths. +# Completes the no-panic family alongside `panic`/`unreachable`/`todo`; if a +# path truly isn't supported, return a proper `Result` error instead. +unimplemented = "deny" # Forbid direct indexing/slicing (`a[i]`, `a[i..j]`) which panics out of bounds. # Completes the no-panic family above by closing the remaining common panic # source; prefer `.get(i)` / `.get(i..j)` so malformed input is handled, not fatal.