From e9a13ab6d795c0672530db048f308c6beba747c5 Mon Sep 17 00:00:00 2001 From: qjerome Date: Wed, 8 Jan 2025 14:47:21 +0100 Subject: [PATCH] fix: autogenerate files --- docs/user/generated_config.adoc | 8 ++++---- editors/code/package.json | 13 ++++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 5b86766aa8..c6f5852f87 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -94,10 +94,10 @@ avoid checking unnecessary things. -- Default: ---- -{ - "miri": null, - "debug_assertions": null -} +[ + "debug_assertion", + "miri" +] ---- List of cfg options to enable with the given values. diff --git a/editors/code/package.json b/editors/code/package.json index 80246bf3fe..6cb74a94a0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -791,11 +791,14 @@ "properties": { "rust-analyzer.cargo.cfgs": { "markdownDescription": "List of cfg options to enable with the given values.", - "default": { - "miri": null, - "debug_assertions": null - }, - "type": "object" + "default": [ + "debug_assertion", + "miri" + ], + "type": "array", + "items": { + "type": "string" + } } } },