Fix the Clippy failure in the small-mip texture test #3
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/codec-d--cool_fox!3
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3"
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?
@Yoshi-233 on GitHub · 2026-11-26 07:43 UTC · original
Yoshi-233:fix/texture-test-precedence→main· +1 −1 · 1 files · 1 commits · openThe Windows CI run on f4b48ad stops before tests because Clippy rejects the sample byte pattern in the small-mip texture test. Parenthesize the multiplication so its precedence over the shift is explicit. The generated bytes stay the same.
I reproduced the diagnostic on Linux x86-64 with the pinned Rust 1.98.1. With this change,
cargo clippy -p victory-formats --all-targets --locked -- -D warningspasses.cargo test --locked -p victory-formats --libreports 41 passed and 5 ignored. The change addresses the first reported failure; the Windows workspace job still needs to run.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.