Skip to content

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

Merged
Twinklebear merged 1 commit into
Twinklebear:masterfrom
GiGainfosystems:cargo_fmt_all
Jul 22, 2026
Merged

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

Conversation

@SwishSwushPow

@SwishSwushPow SwishSwushPow commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

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
Contributor 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.

@SwishSwushPow

Copy link
Copy Markdown
Contributor Author

Little bump :) I think this PR should fall into the maintenance mode category. Also I'm happy to make any changes if required.

@Twinklebear

Copy link
Copy Markdown
Owner

Thanks for the bump @SwishSwushPow , I wasn't sure initially if you were done tweaking things and then this fell off my radar. Looks good to me 👍

@Twinklebear
Twinklebear merged commit 245ccea into Twinklebear:master Jul 22, 2026
5 checks passed
@SwishSwushPow
SwishSwushPow deleted the cargo_fmt_all branch July 22, 2026 04:30
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