gahag / bgrep

A binary grep written in Rust.
BSD 3-Clause "New" or "Revised" License
126 stars 5 forks source link

Consider using rustfmt to format the code? #3

Open Aloxaf opened 5 years ago

Aloxaf commented 5 years ago

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 commented 5 years ago

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