We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8dc1b4 commit d43e485Copy full SHA for d43e485
modules/hooks.nix
@@ -2706,7 +2706,7 @@ in
2706
description = "Format Rust code.";
2707
package = wrapper;
2708
packageOverrides = { cargo = tools.cargo; rustfmt = tools.rustfmt; };
2709
- entry = "${hooks.rustfmt.package}/bin/cargo-fmt fmt ${cargoManifestPathArg} -- --color always";
+ entry = "${hooks.rustfmt.package}/bin/cargo-fmt fmt ${cargoManifestPathArg} --all -- --color always";
2710
files = "\\.rs$";
2711
pass_filenames = false;
2712
};
0 commit comments