fmt: Format all files #502
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/502"
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 Marvisak/VIctory. Originally posted by LazyHatGuy on 2026-11-24T04:14:50Z.
In order for the lint job to pass in #481, the current files need to be formatted
Imported from Marvisak/VIctory. Originally posted by sebastianspicker on 2026-11-24T13:00:39Z.
Review: CHANGES_REQUESTED
Tested
c2609eaagainstmainffe310e(macOS, Rust 1.98.1, Windows-target clippy via cargo-xwin).cargo fmt --allwith the pinned rustfmt produces onffe310e: byte-identical tree, nothing else changed. So ifmainmoves, it can be regenerated instead of rebased.--workspace --all-targets -- -D warnings, asci.ymlruns it) fails with twoundocumented_unsafe_blockserrors, atvictory-gpu/src/list.rs:1464andvictory-gpu/src/watch.rs:369. Formatting splits two test asserts so the// SAFETY:comment ends up aboveassert!(and no longer above theunsafeblock. Binding the value first fixes both, and then clippy passes with and without--all-features:xma/tables.rsgoing from 8 entries per row to one per line (410 to 874 lines).#[rustfmt::skip]on its 16 table consts keeps the current layout,cargo fmt --all -- --checkstill passes, and the PR shrinks from +1680/-631 to +870/-276.On conflicts: I took a random sample of 40 open PRs that touch one of these 35 files. 4 of them (#96, #431, #624, #633) merge cleanly with
maintoday and conflict after this PR; 13 already conflict withmain; 23 merge cleanly either way.#112 has a format pass too (
c05812d). It still has the same two detached comments and is 160 commits behindmain, so only one of the two should land.AI-assisted.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:03:28Z.
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Imported from Marvisak/VIctory. Originally posted by LazyHatGuy on 2026-11-25T00:06:19Z.
In order for https://github.com/Marvisak/VIctory/pull/481 to pass, the files in the project need to be formatted. In my opinion this should be something enforced
Pull request closed