Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2298a76

Browse files
fix typo in inlayHints.renderColons option description
1 parent b350a1b commit 2298a76

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ config_data! {
264264
inlayHints_parameterHints_enable: bool = "true",
265265
/// Whether to show inlay type hints for compiler inserted reborrows.
266266
inlayHints_reborrowHints_enable: bool = "false",
267-
/// Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.
267+
/// Whether to render leading colons for type hints, and trailing colons for parameter hints.
268268
inlayHints_renderColons: bool = "true",
269269
/// Whether to show inlay type hints for variables.
270270
inlayHints_typeHints_enable: bool = "true",

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Whether to show inlay type hints for compiler inserted reborrows.
373373
[[rust-analyzer.inlayHints.renderColons]]rust-analyzer.inlayHints.renderColons (default: `true`)::
374374
+
375375
--
376-
Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.
376+
Whether to render leading colons for type hints, and trailing colons for parameter hints.
377377
--
378378
[[rust-analyzer.inlayHints.typeHints.enable]]rust-analyzer.inlayHints.typeHints.enable (default: `true`)::
379379
+

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@
814814
"type": "boolean"
815815
},
816816
"rust-analyzer.inlayHints.renderColons": {
817-
"markdownDescription": "Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.",
817+
"markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.",
818818
"default": true,
819819
"type": "boolean"
820820
},

0 commit comments

Comments
 (0)