about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-07-01 11:35:13 -0400
committerGitHub <noreply@github.com>2022-07-02 00:35:13 +0900
commit3cb910acead67e4979af832aa5ccd2382297db67 (patch)
tree00c2ae72fab5caf10bf93e96106731ef07cabe0a /src/doc/rustc-dev-guide
parent7bf03d61bf21941f42e6db2738ce220e5d9f12d3 (diff)
downloadrust-3cb910acead67e4979af832aa5ccd2382297db67.tar.gz
rust-3cb910acead67e4979af832aa5ccd2382297db67.zip
leave formatOnSave to the user (#1380)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 6c0b7135e93..df79aed79f7 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -36,7 +36,7 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
         "./build/$TARGET_TRIPLE/stage0/bin/rustfmt",
         "--edition=2021"
     ],
-    "editor.formatOnSave": true,
+    "rust-analyzer.procMacro.enable": true,
     "rust-analyzer.cargo.buildScripts.enable": true,
     "rust-analyzer.cargo.buildScripts.overrideCommand": [
         "cargo",
@@ -46,7 +46,6 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
         "--message-format=json"
     ],
     "rust-analyzer.rustc.source": "./Cargo.toml",
-    "rust-analyzer.procMacro.enable": true,
 }
 ```