about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorharpsword <harpswordyyl@gmail.com>2022-05-28 20:13:25 +0800
committerharpsword <harpswordyyl@gmail.com>2022-05-28 22:12:30 +0800
commit55509548e8e1679fca623f14802289ae365075f4 (patch)
tree1b3c975acbbe596beea2eb66e3e21ef82ff7e77c /docs
parent6c9fc4fec2193ebfa7ed7eb163b6eea925b56f7b (diff)
downloadrust-55509548e8e1679fca623f14802289ae365075f4.tar.gz
rust-55509548e8e1679fca623f14802289ae365075f4.zip
fix: add an option to show inlay hint for return type of closures without block
Diffstat (limited to 'docs')
-rw-r--r--docs/user/generated_config.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index 389124ed8bf..981132f9c4d 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -366,10 +366,10 @@ Whether to show inlay hints after a closing `}` to indicate what item it belongs
 Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1
 to always show them).
 --
-[[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `false`)::
+[[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `"never"`)::
 +
 --
-Whether to show inlay type hints for return types of closures with blocks.
+Whether to show inlay type hints for return types of closures.
 --
 [[rust-analyzer.inlayHints.lifetimeElisionHints.enable]]rust-analyzer.inlayHints.lifetimeElisionHints.enable (default: `"never"`)::
 +