Tighten temporarily allowed Clippy lints in runtime/Cargo.toml #13
Labels
No labels
accessibility
area: compatibility
area: docs
area: hygiene
area: infra
area: memory
area: ray-tracing
area: rendering
area: shaders
area: submission
area: textures
bug
ci
dependencies
difficulty: advanced systems
difficulty: intermediate
documentation
duplicate
enhancement
experimental
good first issue
help wanted
invalid
known issue
performance
priority: P0
priority: P1
priority: P2
proposal
question
rendering
research
testing
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VictoryX-dev--VictoryX#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@VictoryX-dev on GitHub · 2026-12-03 02:57 UTC · original
Problem
runtime/Cargo.tomltemporarily allows eight Clippy style lints across the workspace (type_complexity,needless_range_loop,chunks_exact_to_as_chunks,sliced_string_as_bytes,collapsible_match,manual_clamp,implicit_saturating_sub,min_max). Tackling these one lint at a time improves code clarity and lets us tighten workspace lint hygiene cleanly.Known Evidence
runtime/Cargo.toml(lines 51–62):"allow"under[workspace.lints.clippy].manual_clamp,min_max,implicit_saturating_sub,sliced_string_as_bytes,collapsible_match) typically have very small, mechanical fix counts.cargo clippyandcargo testwith no title files required.Approaches That Did Not Work
manual_clamp,min_maxorsliced_string_as_bytes).Relevant Source Modules
runtime/Cargo.toml(lines 51–62)cargo clippywhen a single"allow"line is removedExpected Contribution
runtime/Cargo.toml(e.g.,manual_clamp,min_max,implicit_saturating_sub,sliced_string_as_bytesorcollapsible_match)."allow"line inruntime/Cargo.toml.cargo clippy(default and--all-features) andcargo test.Acceptance Criteria
"allow"entry is removed fromruntime/Cargo.toml.cargo clippy --workspace --all-targets --locked -- -D warningsand--all-featurespass cleanly.cargo test --workspace --lockedpasses with zero regressions and no behavioral changes.