about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-03-16 21:16:55 +0100
committerLukas Wirth <lukastw97@gmail.com>2022-03-16 21:25:03 +0100
commitbd17933c31b7e4e8b1750c59a8de2e4ab0268c33 (patch)
tree6b8fa4e7893f7d65a04a3d32a5d180caa7a4c9e1 /docs
parenta40a847d77833e01bf8227f06c149f2e22a27935 (diff)
downloadrust-bd17933c31b7e4e8b1750c59a8de2e4ab0268c33.tar.gz
rust-bd17933c31b7e4e8b1750c59a8de2e4ab0268c33.zip
feat: Add return type hints for closures with block bodies
Diffstat (limited to 'docs')
-rw-r--r--docs/user/generated_config.adoc15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index dd819abdd29..5793b4c057d 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -352,11 +352,6 @@ Whether to show `Run` action. Only applies when
 --
 Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.
 --
-[[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`)::
-+
---
-Whether to show inlay type hints for method chains.
---
 [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25`)::
 +
 --
@@ -373,6 +368,16 @@ site.
 --
 Whether to show inlay type hints for variables.
 --
+[[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`)::
++
+--
+Whether to show inlay type hints for method chains.
+--
+[[rust-analyzer.inlayHints.closureReturnTypeHints]]rust-analyzer.inlayHints.closureReturnTypeHints (default: `false`)::
++
+--
+Whether to show inlay type hints for return types of closures with blocks.
+--
 [[rust-analyzer.inlayHints.hideNamedConstructorHints]]rust-analyzer.inlayHints.hideNamedConstructorHints (default: `false`)::
 +
 --