about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-12 17:07:42 +0000
committerbors <bors@rust-lang.org>2023-11-12 17:07:42 +0000
commit416e9c856a792ce2214c449677ca0a1f38965248 (patch)
tree4649e0053c855395265854457af3e783afd398b0 /docs
parent4fc208e69316ed19b26af88143c8e53298c5796e (diff)
parentb6f0994ee61370b42fa2d834259311eb1355c7ff (diff)
downloadrust-416e9c856a792ce2214c449677ca0a1f38965248.tar.gz
rust-416e9c856a792ce2214c449677ca0a1f38965248.zip
Auto merge of #15881 - nokazn:docs/fix-vscode-setting-samples, r=lnicola
docs: fix VS Code setting samples

Fix invalid JSONC examples (missing double quotes) in VS Code's `settings.json` .
Thank you.
Diffstat (limited to 'docs')
-rw-r--r--docs/user/manual.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index b605de4c7b8..18d5ddd4d0a 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
 "rust-analyzer.runnables.extraEnv": [
     {
         // "mask": null, // null mask means that this rule will be applied for all runnables
-        env: {
+        "env": {
              "APP_ID": "1",
              "APP_DATA": "asdf"
         }
@@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
 "rust-analyzer.runnables.extraEnv": [
     {
         "platform": "win32", // windows only
-        env: {
+        "env": {
              "APP_DATA": "windows specific data"
         }
     },