Move beta rustfmt downloads to rustbuild

This commit is contained in:
Joshua Nelson
2022-05-28 21:17:28 -05:00
parent bd6409ddef
commit 81f511cc2b
6 changed files with 153 additions and 95 deletions

View File

@@ -661,7 +661,7 @@ impl Build {
self.maybe_update_submodules();
if let Subcommand::Format { check, paths } = &self.config.cmd {
return format::format(self, *check, &paths);
return format::format(&builder::Builder::new(&self), *check, &paths);
}
if let Subcommand::Clean { all } = self.config.cmd {