about summary refs log tree commit diff
diff options
context:
space:
mode:
authornora <48135649+Noratrieb@users.noreply.github.com>2025-05-31 22:53:01 +0200
committerGitHub <noreply@github.com>2025-05-31 22:53:01 +0200
commit8e5ca3068c7b06005bea97338e04201871a85fa5 (patch)
treedc281d8950b6b6ad5edfdf6050a96024e7e24fea
parentda341021b9a3f91ff539e91f5b8cdec16a486817 (diff)
parentec84e806507e729f1980001ed0320e2393e8268e (diff)
downloadrust-8e5ca3068c7b06005bea97338e04201871a85fa5.tar.gz
rust-8e5ca3068c7b06005bea97338e04201871a85fa5.zip
Merge pull request #2432 from rust-lang/tshepang-patch-1
suggest build/rust-analyzer instead of build-rust-analyzer
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 842a5d08b75..1da433d3b68 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -91,7 +91,7 @@ for two reasons:
   additional rebuilds in some cases.
 
 To avoid these problems:
-- Add `--build-dir=build-rust-analyzer` to all of the custom `x` commands in
+- Add `--build-dir=build/rust-analyzer` to all of the custom `x` commands in
   your editor's rust-analyzer configuration.
   (Feel free to choose a different directory name if desired.)
 - Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
@@ -100,10 +100,7 @@ To avoid these problems:
   copy of `rust-analyzer-proc-macro-srv` in that other build directory.
 
 Using separate build directories for command-line builds and rust-analyzer
-requires extra disk space, and also means that running `./x clean` on the
-command-line will not clean out the separate build directory. To clean the
-separate build directory, run `./x clean --build-dir=build-rust-analyzer`
-instead.
+requires extra disk space.
 
 ### Visual Studio Code