summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rustfmt.toml (renamed from tools/rustfmt.toml)0
-rwxr-xr-xtools/format.ts2
2 files changed, 1 insertions, 1 deletions
diff --git a/tools/rustfmt.toml b/.rustfmt.toml
index faa3d5a33..faa3d5a33 100644
--- a/tools/rustfmt.toml
+++ b/.rustfmt.toml
diff --git a/tools/format.ts b/tools/format.ts
index 93cfd6ccb..e5e0b4bf6 100755
--- a/tools/format.ts
+++ b/tools/format.ts
@@ -8,7 +8,7 @@ const clangFormat = join("third_party", "depot_tools", "clang-format");
const gn = join("third_party", "depot_tools", "gn");
const yapf = join("third_party", "python_packages", "bin", "yapf");
const rustfmt = join("third_party", "rustfmt", deno.platform.os, "rustfmt");
-const rustfmtConfig = join("tools", "rustfmt.toml");
+const rustfmtConfig = ".rustfmt.toml";
const run = (...args: string[]) => {
if (deno.platform.os === "win") {