lint: re-enable six relaxed clippy lints across gpu and shader crates #649
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!649
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-649"
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?
@JulioMelo259 on GitHub · 2026-11-25 03:59 UTC · original
JulioMelo259:lint/re-enable-gpu-clippy-lints→main· +22 −33 · 6 files · 2 commits · openFollow-up to #499 and the clippy-lint alignment noted in #126.
Re-enables six of the remaining relaxed lints in the workspace
Cargo.toml(leavingundocumented_unsafe_blocksto #499, and leavingtype_complexity/sliced_string_as_bytesuntouched for now to avoid merge conflicts with hot filesemit/lower.rs,draw.rs, andhost.rs):collapsible_match(already clean)manual_clamp&min_max— simplified constantu32::from(groups > 0).max(1).min(1)to1incrates/victory-gpu/src/indirect.rstest assertionimplicit_saturating_sub— replaced manual check withsaturating_subincrates/victory-gpu/src/shadow.rschunks_exact_to_as_chunks— switched toas_chunks/as_chunks_mutincrates/victory-gpu/src/shadow.rsandcrates/victory-gpu/src/pipeline/library.rsneedless_range_loop— converted indexed loops to slice/iterator patterns incrates/victory-gpu/src/shadow.rs,crates/victory-shader/src/emit/own_bits.rs, andcrates/victory-shader/src/ir.rsValidation
cargo clippy --workspace --all-targets --all-features— 0 warningscargo test --workspace— 505 passed, 0 failed (8 ignored)cargo xtask policy— 169 files okAI-assisted (Gemini Neon + Oh My Pi + manual review/fixes), per fork convention.
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.