Skip to content

feat(nix): Add rust formatter to devshell#1787

Open
prashantrahul141 wants to merge 1 commit intomolybdenumsoftware:masterfrom
prashantrahul141:feat/rust-fmt
Open

feat(nix): Add rust formatter to devshell#1787
prashantrahul141 wants to merge 1 commit intomolybdenumsoftware:masterfrom
prashantrahul141:feat/rust-fmt

Conversation

@prashantrahul141
Copy link
Copy Markdown

No description provided.

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
@prashantrahul141
Copy link
Copy Markdown
Author

@mightyiam Do you think you could take a look at this if you get time, thank you!

@mightyiam
Copy link
Copy Markdown
Member

All code in this project is formatted via the flake formatter that can be obtained via flake formatter build. Not via rustfmt directly, but indirectly.

@mightyiam
Copy link
Copy Markdown
Member

@prashantrahul141
Copy link
Copy Markdown
Author

I see, it would be a good idea to document this, dont you think? Also I noticed that there's no contributors guide anywhere in the project, having that would be nice too.

@mightyiam
Copy link
Copy Markdown
Member

Documentation can get out-of-sync with code. Code is truth. This is not some complex behavior or caveat. grep the code for "format" and you'd probably find it. That's how I see it. Less is more. Stay slim, stay fit.

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

Successfully merging this pull request may close these issues.

2 participants