Skip to content

Run cargo +nightly fmt --all and fix CI job#76

Open
SwishSwushPow wants to merge 1 commit into
Twinklebear:masterfrom
GiGainfosystems:cargo_fmt_all
Open

Run cargo +nightly fmt --all and fix CI job#76
SwishSwushPow wants to merge 1 commit into
Twinklebear:masterfrom
GiGainfosystems:cargo_fmt_all

Conversation

@SwishSwushPow

@SwishSwushPow SwishSwushPow commented Jun 23, 2026

Copy link
Copy Markdown

Hi everyone 👋

While working with tobj I noticed that I have to run cargo fmt with the nightly toolchain for it to work correctly. That led me to having a look into the CI and I noticed that the fmt step is not applying all the rules either (e.g. here if you check the fmt step: https://github.com/Twinklebear/tobj/actions/runs/27104693119/job/79991600178).

So I wanted to fix the job and also apply all the fmt rules with this PR.

I have also taken this chance to fix a couple of random typos.

My IDE also auto-formats parts of the README.md but I have not included it yet because I'm not sure if that is a welcome change. If it is just let me know and I can update this PR.

Edit: Whoops sorry I accidentally pushed a commit from another branch. I've force pushed again to fix that.

@SwishSwushPow SwishSwushPow force-pushed the cargo_fmt_all branch 2 times, most recently from f371616 to 8ddb469 Compare June 23, 2026 14:11
Additionally adjust the CI job and fix some typos
@SwishSwushPow

Copy link
Copy Markdown
Author

Sorry for the pushes, my changes to the CI job were not correct. 😅 I moved cargo fmt into it's own job now so that we have the nightly toolchain available there and it can also run in parallel to the other jobs and won't block tests etc. if there is a little formatting issue.

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.

1 participant