Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat and configure for auto-formatting #508

Merged
merged 3 commits into from
Oct 19, 2023
Merged

Reformat and configure for auto-formatting #508

merged 3 commits into from
Oct 19, 2023

Conversation

kpreid
Copy link
Contributor

@kpreid kpreid commented Sep 27, 2023

This PR does 3 things:

  1. Apply rustfmt. The last PR that did this was Format code using 'cargo fmt' #442.
  2. Unlike previous formatting PRs, add #[rustfmt::skip] to matrix code so that future formatting does not require manual reverts/exemptions.
  3. Add a formatting check to CI.

I hope that this will make future contributions easier, because authors will be able to use automatic formatting with no manual intervention and no superfluous changes.

@nical
Copy link
Contributor

nical commented Oct 19, 2023

Sorry, I forgot about this one

@nical nical added this pull request to the merge queue Oct 19, 2023
Merged via the queue into servo:master with commit 2fd7833 Oct 19, 2023
19 checks passed
@kpreid kpreid deleted the fmt branch October 19, 2023 17:39
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