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.
This commit is contained in:
bors 2023-11-12 17:07:42 +00:00
commit 416e9c856a

View file

@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
"rust-analyzer.runnables.extraEnv": [ "rust-analyzer.runnables.extraEnv": [
{ {
// "mask": null, // null mask means that this rule will be applied for all runnables // "mask": null, // null mask means that this rule will be applied for all runnables
env: { "env": {
"APP_ID": "1", "APP_ID": "1",
"APP_DATA": "asdf" "APP_DATA": "asdf"
} }
@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
"rust-analyzer.runnables.extraEnv": [ "rust-analyzer.runnables.extraEnv": [
{ {
"platform": "win32", // windows only "platform": "win32", // windows only
env: { "env": {
"APP_DATA": "windows specific data" "APP_DATA": "windows specific data"
} }
}, },