You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I was skimming through the codebase through github.com, I was surprised to stumble upon very weirdly indented code which was very hard to follow :
Here's an example take from item.rs :
Indeed, after git cloning the repo on my local station, it turns out that the source code uses a mixed bag for spaces and tabs, so the problem remain in my text-editor.
I reckon it could be worthwhile to perform some cleanup with rustfmt across all rust files in order to alleviate the problem.
Thanks.
The text was updated successfully, but these errors were encountered:
I've added make fmt which does the pre-requisite setup and then calls rustfmt. Unfortunately due to how the build system is set up, adding a github action to do this is not easily possible.
Hello.
While I was skimming through the codebase through github.com, I was surprised to stumble upon very weirdly indented code which was very hard to follow :
Here's an example take from
item.rs
:Indeed, after git cloning the repo on my local station, it turns out that the source code uses a mixed bag for spaces and tabs, so the problem remain in my text-editor.
I reckon it could be worthwhile to perform some cleanup with
rustfmt
across all rust files in order to alleviate the problem.Thanks.
The text was updated successfully, but these errors were encountered: