about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVictor Song <vms2@rice.edu>2023-09-30 21:21:00 -0500
committerVictor Song <vms2@rice.edu>2023-10-09 02:15:05 -0500
commitef0b3bbef1a1b4cd88619f9a5f43d526f96af184 (patch)
treed101e1f2dfa93b4be227e2d0bf8c1607063ae297
parent53b670059456ba15e4374e5ab7ba4e2468066d0c (diff)
downloadrust-ef0b3bbef1a1b4cd88619f9a5f43d526f96af184.tar.gz
rust-ef0b3bbef1a1b4cd88619f9a5f43d526f96af184.zip
Clarify documentation on new parameter
-rw-r--r--crates/rust-analyzer/src/config.rs2
-rw-r--r--docs/user/generated_config.adoc2
-rw-r--r--editors/code/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 8f1543de004..39a98bcd29a 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -484,7 +484,7 @@ config_data! {
         /// This is useful to prevent rust-analyzer's `cargo check` from blocking builds.
         ///
         /// Set to `true` to use a subdirectory of the existing target directory or
-        /// set to a path to use that path.
+        /// set to a path relative to the workspace to use that path.
         rust_analyzerTargetDir: Option<TargetDirectory> = "null",
 
         /// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index f7ae6afe386..4440caaed89 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -764,7 +764,7 @@ Optional path to a rust-analyzer specific target directory.
 This is useful to prevent rust-analyzer's `cargo check` from blocking builds.
 
 Set to `true` to use a subdirectory of the existing target directory or
-set to a path to use that path.
+set to a path relative to the workspace to use that path.
 --
 [[rust-analyzer.rustc.source]]rust-analyzer.rustc.source (default: `null`)::
 +
diff --git a/editors/code/package.json b/editors/code/package.json
index e1402cb0f5c..a18acb98301 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1489,7 +1489,7 @@
                     }
                 },
                 "rust-analyzer.rust.analyzerTargetDir": {
-                    "markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis is useful to prevent rust-analyzer's `cargo check` from blocking builds.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path to use that path.",
+                    "markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis is useful to prevent rust-analyzer's `cargo check` from blocking builds.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path relative to the workspace to use that path.",
                     "default": null,
                     "anyOf": [
                         {