admission: clippy 1.95.0 nonminimal_bool at admission.rs:674 #72

Merged
eureka merged 1 commit from eureka/clippy-195-nonminimal-bool into main 2026-11-17 03:46:21 +00:00
Owner

Pinned toolchain 1.95.0 (rust-toolchain.toml) fails cargo clippy --workspace --all-targets -- -D warnings at main 416e385 with one error: clippy::nonminimal_bool at crates/huginn-mind/src/admission.rs:674. The change is clippy's own suggestion, logically identical (!(A && B) && !C == !(C || A && B)). With it, the whole workspace is clean on rustc 1.95.0 (checked with a standalone 1.95.0 toolchain, no root).

Pinned toolchain 1.95.0 (`rust-toolchain.toml`) fails `cargo clippy --workspace --all-targets -- -D warnings` at main 416e385 with one error: `clippy::nonminimal_bool` at `crates/huginn-mind/src/admission.rs:674`. The change is clippy's own suggestion, logically identical (`!(A && B) && !C` == `!(C || A && B)`). With it, the whole workspace is clean on rustc 1.95.0 (checked with a standalone 1.95.0 toolchain, no root).
The pinned 1.95.0 toolchain rejects the negated conjunction at admission.rs:674 under
-D warnings; the rewrite is its own suggestion and De Morgan-equal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit 4b276dfebc into main 2026-11-17 03:46:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Huginn!72
No description provided.