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

Consider using rustfmt to format the code? #3

Open
Aloxaf opened this issue Mar 24, 2019 · 1 comment
Open

Consider using rustfmt to format the code? #3

Aloxaf opened this issue Mar 24, 2019 · 1 comment

Comments

@Aloxaf
Copy link
Contributor

Aloxaf commented Mar 24, 2019

I noticed that you're not using the default rust style guidelines.
It would be better to use rustfmt to format your code so that coding style can be unified among different contributors.

You can add a rustfmt.toml for some custom configuration, such as tab_spaces = 2, the full configurations can be found at Configurations.md.

(I am not a native speaker, so please forgive me if there is any offense in my words.)

@gahag
Copy link
Owner

gahag commented Mar 24, 2019

Thanks for the tip! I'll sure make a custom rustfmt.toml. By the way, your english is pretty fine.

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

No branches or pull requests

2 participants