about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBenjamin Brienen <benjamin.brienen@outlook.com>2025-02-20 17:05:18 +0100
committerGitHub <noreply@github.com>2025-02-20 17:05:18 +0100
commitf97bbd32b4289a76634988e1ef87f16cf1d21dea (patch)
tree8b3fda9232055103741230537388e5d3d67dc9a6
parent98fc39f8afa87cbae53a8fe0d781776b6628601f (diff)
downloadrust-f97bbd32b4289a76634988e1ef87f16cf1d21dea.tar.gz
rust-f97bbd32b4289a76634988e1ef87f16cf1d21dea.zip
Update editor_features.md
fix typos in snippets
-rw-r--r--src/tools/rust-analyzer/docs/book/src/editor_features.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/rust-analyzer/docs/book/src/editor_features.md b/src/tools/rust-analyzer/docs/book/src/editor_features.md
index 73fe9f49a96..5521e395c73 100644
--- a/src/tools/rust-analyzer/docs/book/src/editor_features.md
+++ b/src/tools/rust-analyzer/docs/book/src/editor_features.md
@@ -1,6 +1,5 @@
 # Editor Features
 
-
 ## VS Code
 
 ### Color configurations
@@ -118,7 +117,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"
         }
@@ -145,7 +144,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"
         }
     },