Closed Ben-PH closed 4 weeks ago
I find myself using nix shell nixpkgs#rustfmt -c cargo fmt to format my code base. Either it's missing from the project config, or it's there, but there's a different way to do it that I'm not aware.
nix shell nixpkgs#rustfmt -c cargo fmt
Yes, there is a different way, I will document it in CONTRIBUTING.md, basically there are two ways:
CONTRIBUTING.md
treefmt # in the devshell
or
nix fmt
Closed through: #170
I find myself using
nix shell nixpkgs#rustfmt -c cargo fmt
to format my code base. Either it's missing from the project config, or it's there, but there's a different way to do it that I'm not aware.