Skip to content

Commit c59ecb3

Browse files
committed
fix: autogenerate files
1 parent 2be4ce0 commit c59ecb3

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/tools/rust-analyzer/docs/user/generated_config.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ avoid checking unnecessary things.
9494
--
9595
Default:
9696
----
97-
{
98-
"miri": null,
99-
"debug_assertions": null
100-
}
97+
[
98+
"debug_assertion",
99+
"miri"
100+
]
101101
----
102102
List of cfg options to enable with the given values.
103103

src/tools/rust-analyzer/editors/code/package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -791,11 +791,14 @@
791791
"properties": {
792792
"rust-analyzer.cargo.cfgs": {
793793
"markdownDescription": "List of cfg options to enable with the given values.",
794-
"default": {
795-
"miri": null,
796-
"debug_assertions": null
797-
},
798-
"type": "object"
794+
"default": [
795+
"debug_assertion",
796+
"miri"
797+
],
798+
"type": "array",
799+
"items": {
800+
"type": "string"
801+
}
799802
}
800803
}
801804
},

0 commit comments

Comments
 (0)