Clippy: fix main's five errors (font.rs, menu.rs, panel.rs) so PR checks pass again #4708
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4708
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4707"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@kc01-8 on GitHub · 2026-12-01 02:38 UTC · original
kc01-8:kc/clippy-main-1201→main· +11 −9 · 3 files · 1 commits · openmainfails its own Clippy step since #4635 (f5c3d2434), so every open PR'scheckis red:host/font.rs:213and:260:textandtext_righttake 9 arguments. Allowed with#[allow(clippy::too_many_arguments)], as elsewhere in the crate.host/menu.rs:667: the key repeat's% REPEAT_EVERY == 0becomes.is_multiple_of(REPEAT_EVERY).host/panel.rs:602and:668: two nestedifs are collapsed into let chains.Nothing changes in behavior. Here, both of the CI's Clippy steps (
--workspace --all-targets, with and without--all-features,-D warnings) report 0 errors, andcargo test --workspaceunder Proton's Wine fails the same tests asmaindoes.From the Linux/Proton fork: https://github.com/kc01-8/VIctoryNVIDIALINUX (branch
kc/trustno1).🤖 Generated with Claude Code
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 06:57 UTC · original
I checked this fix on current upstream main
5fabb46with native Windows Rust 1.98.1 and locked dependencies.f4396b7onto that base passed both strict workspace Clippy commands. That includes--all-targetswith and without--all-features.7fa2234) and #4018 (86084fd) on top still passed both commands. The two existing PR checks stop at the same five findings on their current base.This verifies the fix against the current base and the two PRs blocked on it. The Windows check on this PR also passed both Clippy steps and Tests.
github-bot referenced this pull request2026-12-01 16:12:28 +00:00
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.