Skip to content

style: match the format check's rustfmt output - #27

Merged
vsilent merged 1 commit into
mainfrom
fix/format-xdg-config
Nov 13, 2026
Merged

vsilent merged 1 commit into
mainfrom
fix/format-xdg-config

Conversation

@vsilent

@vsilent vsilent commented Nov 13, 2026

Copy link
Copy Markdown

PR #26 merged at 8a68660 before my format fix landed, so main's Build & Test / Format check is failing (cargo fmt --all -- --check) on two spots in src/main.rs — exactly the diff CI reported on the PR:

  • the HOME fallback closure breaks across lines;
  • the closing println fits on one line.

This cherry-picks the fix (6 insertions, 4 deleties, src/main.rs only). Verified with the CI command itself: cargo fmt --all -- --check exits 0; tests 469+8+108 pass.

Applies cleanly on main; unblocks the Build & Test job.

Two shapes in main.rs the runner's rustfmt formats differently: the
HOME fallback closure stays broken across lines, and the closing
println fits on one line. Verified with cargo fmt --check exit codes
rather than output tails this time.
@vsilent
vsilent merged commit 558d1df into main Nov 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants