Clippy: green on main again (the four findings since 9b712a6) #1160

Merged
T1bolus merged 1 commit from upstream-pr/1160 into main 2026-11-28 19:39:38 +00:00
T1bolus commented 2026-11-28 14:33:20 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by T1bolus on 2026-11-28T14:33:20Z.


Clippy green on main again (the four findings since 9b712a6)

Both builds on main fail cargo clippy --workspace --all-targets -- -D warnings today, and the last pushes to main ran no CI. Four findings: a let whose only reader is the block's return in the emit fixtures, two manual-is-multiple-of (the spin turns in shadow.rs, the log throttle in descriptor.rs), and Some(x).filter(|_| ...) in gameinput.rs. Each replaced with the form clippy wants; no behaviour change. #687, #705, #665 and #957 have the same goal — whichever lands first wins.

Checks

  • cargo clippy --workspace --all-targets -- -D warnings, and the same with --all-features: clean in both, on the pinned toolchain 1.98.1.
  • cargo test --workspace --locked: green. The only flakes were the watch tests #724 documents as load-sensitive; each failed once under a parallel game run and passes alone.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5541188606 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1160). Originally posted by [T1bolus](https://github.com/T1bolus) on 2026-11-28T14:33:20Z. --- ## Clippy green on main again (the four findings since 9b712a6) Both builds on main fail `cargo clippy --workspace --all-targets -- -D warnings` today, and the last pushes to main ran no CI. Four findings: a `let` whose only reader is the block's return in the emit fixtures, two `manual-is-multiple-of` (the spin turns in `shadow.rs`, the log throttle in `descriptor.rs`), and `Some(x).filter(|_| ...)` in `gameinput.rs`. Each replaced with the form clippy wants; no behaviour change. #687, #705, #665 and #957 have the same goal — whichever lands first wins. ## Checks - `cargo clippy --workspace --all-targets -- -D warnings`, and the same with `--all-features`: clean in both, on the pinned toolchain 1.98.1. - `cargo test --workspace --locked`: green. The only flakes were the watch tests #724 documents as load-sensitive; each failed once under a parallel game run and passes alone.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
trustno1-coder/VIctory-NVIDIA!1160
No description provided.