-
Notifications
You must be signed in to change notification settings - Fork 961
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
Code formatting with rustfmt.toml
config
#5684
Comments
Curios to know the opinions of the maintainers here :) |
yes, related to imports and formatting code in the docs which are in the |
yeah, thanks for it! With a PR we can then discuss and possible fine tune the changes |
Description
We can add a
rustfmt.toml
file to the repo and use some of the nightly features likeRead more about these configs in here.
Motivation
Highly improved code formatting and readability.
Formatting imports.
Formatting the code in doc as well.
Example: reth - rustfmt.toml
Current Implementation
This:
will look like this:
This is just one of the example across repo.
Are you planning to do it yourself in a pull request ?
Yes
The text was updated successfully, but these errors were encountered: