fix(victory-formats): remove redundant closure in Texture::new #427
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!427
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-427"
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?
@ashishdhillon on GitHub · 2026-11-26 18:17 UTC · original
ashishdhillon:fix/victory-formats-clippy-redundant-closure→main· +1 −1 · 1 files · 1 commits · closed without mergingDescription
cargo clippy --manifest-path third_party/victory/Cargo.toml -p victory-formats --all-targets -- -D warningsfailed onthird_party/victory/crates/victory-formats/src/texture.rs:1050withclippy::redundant_closure(Texture::build(desc, |d| Layout::new(d))).Changes
third_party/victory/crates/victory-formats/src/texture.rs: Replaced|d| Layout::new(d)withLayout::newinTexture::new.Verification
cargo clippy --manifest-path third_party/victory/Cargo.toml -p victory-formats --all-targets --locked -- -D warnings: passed (0 warnings)cargo test --manifest-path third_party/victory/Cargo.toml -p victory-formats --locked: 30 passed, 0 failed (4 ignored: external files / benchmark)(cd third_party/victory && cargo xtask policy):asset policy: 215 files okpython -m ruff check --select W605,F,E9 PrototypeScarlett tests tools: passedpython -m pytest tests/test_readme_sync.py -q: 9 passed, 1 skippedAI-assisted: yes.
@LooperSalty on GitHub · 2026-11-26 23:08 UTC · original
Closing after #454 moved
third_party/victoryto the Vice-Tay base (TaynanGT/Vice-Tay a252348).Texture::newinvictory-formatsno longer has that closure on the new base.Thanks for the work. If you measure a gain on the new base, a new PR against
mainis welcome.🤖 Closed by Claude Code on behalf of the maintainer
Pull request closed