about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-03-19 20:12:14 +0100
committerLukas Wirth <lukastw97@gmail.com>2022-03-19 20:12:14 +0100
commit7da5b80f259a777a43ea4e208def4672cb0fb545 (patch)
tree50913b5398361da358d6544b97afdbeb4e5ce68e /editors/code
parent7ab0aaa82a24b2d54b2338722cf63c2cb1caa346 (diff)
downloadrust-7da5b80f259a777a43ea4e208def4672cb0fb545.tar.gz
rust-7da5b80f259a777a43ea4e208def4672cb0fb545.zip
Change skip trivial behaviour
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 06c6bcab9e3..0343abd0a3b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -812,11 +812,11 @@
                     "enumDescriptions": [
                         "Always show lifetime elision hints.",
                         "Never show lifetime elision hints.",
-                        "Always show lifetime elision hints but skip them for trivial single input to output mapping."
+                        "Only show lifetime elision hints if a return type is involved."
                     ]
                 },
-                "rust-analyzer.inlayHints.paramNamesForLifetimeElisionHints": {
-                    "markdownDescription": "Whether to show prefer using parameter names as the name for elided lifetime hints.",
+                "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": {
+                    "markdownDescription": "Whether to prefer using parameter names as the name for elided lifetime hints if possible.",
                     "default": false,
                     "type": "boolean"
                 },