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.)
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 astab_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.)