Skip to content

chore: clippy round across the workspace#449

Merged
passcod merged 1 commit into
phase1-doctor-into-alertdfrom
alertd-clippy-round
Jun 2, 2026
Merged

chore: clippy round across the workspace#449
passcod merged 1 commit into
phase1-doctor-into-alertdfrom
alertd-clippy-round

Conversation

@passcod
Copy link
Copy Markdown
Member

@passcod passcod commented Jun 2, 2026

🤖 Final step of the healthcheck-consolidation series (stacked on #442). A workspace-wide clippy round addressing every warning, regardless of which crate it belongs to.

cargo clippy --workspace --all-targets --all-features fixes (all in the bestool iti modules):

  • battery.rs: filter(..).next()find(..); map_or(false, ..)is_some_and(..); the partial-ord negation rewritten via partial_cmp (preserving the NaN/zero behaviour).
  • lcd.rs: == false!.
  • sparks.rs: dropped a needless borrow; repeat(0.0).take(n)repeat_n(0.0, n).

The whole stack is now rebased on current main, builds clean, cargo fmt --check clean, zero clippy warnings, tests pass against the local central DB, and the Windows GNU cross-check is clean.

Co-authored-by: Claude <noreply@anthropic.com>
Base automatically changed from phase4-threshold-tuning to phase1-doctor-into-alertd June 2, 2026 14:46
@passcod passcod merged commit 27c0446 into phase1-doctor-into-alertd Jun 2, 2026
6 of 8 checks passed
@passcod passcod deleted the alertd-clippy-round branch June 2, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant