Skip to content

Commit

Permalink
Auto merge of rust-lang#15881 - nokazn:docs/fix-vscode-setting-sample…
Browse files Browse the repository at this point in the history
…s, r=lnicola

docs: fix VS Code setting samples

Fix invalid JSONC examples (missing double quotes) in VS Code's `settings.json` .
Thank you.
  • Loading branch information
bors committed Nov 12, 2023
2 parents 4fc208e + b6f0994 commit 416e9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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"
}
},
Expand Down

0 comments on commit 416e9c8

Please sign in to comment.