Skip to content

fix(schemas): fix and update rustfmt.json #4930

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dogsoahc
Copy link

I updated the the schema file for the Rust formatter using the script written by @InSyncWithFoo for the previous update of the same file. A few descriptions were updated and one option got added in the official documentation. Additionally, the documentation on one of the options is missing the "Stable" property, which caused the regular expression used in the original script to mash it together with the following option. I adapted the regular expression and ran it again to get the updated version.

  • The previous commit modifying this schema is missing the newline_style option due to a formatting irregularity in the rustfmt documentation not accounted for in the script used to generate the schema.
  • The float_literal_trailing_zero option was added since the previous update.
  • A few options have experienced updates in their descriptions.

- The previous commit modifying this schema is missing the
`newline_style` option due to a formatting irregularity in the rustfmt
documentation not accounted for in the script used to generate the
schema.
- The `float_literal_trailing_zero` option was added since the
previous update.
- A few options have experienced updates in their descriptions.
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@hyperupcall
Copy link
Member

Thanks! I can merge this once CI goes green

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