diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-01 11:35:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-02 00:35:13 +0900 |
| commit | 3cb910acead67e4979af832aa5ccd2382297db67 (patch) | |
| tree | 00c2ae72fab5caf10bf93e96106731ef07cabe0a /src/doc/rustc-dev-guide | |
| parent | 7bf03d61bf21941f42e6db2738ce220e5d9f12d3 (diff) | |
| download | rust-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.md | 3 |
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, } ``` |
