Silence pre-existing clippy warnings so CI passes #5062
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5062"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by t91a60 on 2026-12-01T18:45:46Z.
[pr-fix] Short description: silence pre-existing clippy warnings so CI passes
Fixes #
What it changes
Pre-existing clippy failures under
-D warningsblocked CI on almost every PR/push. This PR fixes the ones found on a clean build of main:crates/victory-gpu/src/host/font.rs:too_many_argumentsontextandtext_right(9 args each). Added#[allow(clippy::too_many_arguments)]; grouping into a struct would be a larger refactor out of scope.crates/victory-gpu/src/host/menu.rs:manual_is_multiple_ofat the repeat-key check; replaced% REPEAT_EVERY == 0with.is_multiple_of(REPEAT_EVERY).crates/victory-gpu/src/host/panel.rs: twocollapsible_ifsites in the stats/notice render paths; collapsed nestedifinto a singleif ... && let Some(...).No gameplay, settings, or performance paths changed.
How it was tested
cargo clippy --workspace --all-targets --locked -- -D warnings-> exit 0 (clean target dir)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings-> exit 0 (clean target dir)cargo test --workspace --locked-> 1233-ish tests pass; one pre-existing flaky test (a_read_by_range_waits_only_for_a_remapping_that_meets_it) failed intermittently under parallel load and is unrelated to these changes.Checked for overlap
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.