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

Standardization of code formatting #105

Open
Nicholas-Baron opened this issue Jun 26, 2020 · 0 comments · May be fixed by #351
Open

Standardization of code formatting #105

Nicholas-Baron opened this issue Jun 26, 2020 · 0 comments · May be fixed by #351

Comments

@Nicholas-Baron
Copy link

A simple cargo fmt (a community auto formatter for Rust) results in around 3000 additions and less than 2000 deletions across 34 files.

rustfmt, which cargo uses for the fmt command, can be customized with a rustfmt.toml in the repository root which can contain 0 or more options listed here.

If formatting changes are to be kept to a minimum, custom formatting would need to be specified via a rustfmt.toml file. Otherwise, to go with the community standard, no file is needed, but all the roughly 5000 line changes would need to be applied.

@hamirmahal hamirmahal linked a pull request Apr 20, 2024 that will close this 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 a pull request may close this issue.

1 participant