Format this repo and check formatting on pushs #40
No reviewers
Labels
No labels
complexity
high
complexity
low
complexity
medium
importance
high
importance
low
importance
medium
type
bug
type
chore
type
feature suggestion
type
missing feature
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
thetxt/oxide!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "(deleted):main"
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?
This PR is two commits.
The first introduces the format checking on push.
The second formats the relevant crates, so that they pass CI. I am sorry for the extent of this commit. It touches most Rust files in this repo. It will be bad pretty annoying to review. But your code will be formatted and (hopefully) more readable for everyone.
Fixes thetxt/oxide#35
Btw sorry for reformatting the
main.ymlfile. That was an accident.Its just my personal preference and its probably deeply offending to most people in the rust community, but I dont like autoformatters like rustfmt. I feel like sometimes its more readable to have things formatted the "wrong" way. Again, just how my brain works.
Maybe in the far future I will revisit this and come up with a rustfmt config that more closely aligns to my personal preferences.
rustfmt --checkin CI on push #35Pull request closed