mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Remove unnecessary Hint suffix on InlayKind variants
This commit is contained in:
parent
60075a6625
commit
f2444b2a40
13 changed files with 87 additions and 95 deletions
|
@ -41,7 +41,7 @@ pub(super) fn hints(
|
|||
}
|
||||
acc.push(InlayHint {
|
||||
range: param_list.syntax().text_range(),
|
||||
kind: InlayKind::ClosureReturnTypeHint,
|
||||
kind: InlayKind::ClosureReturnType,
|
||||
label: label_of_ty(famous_defs, config, ty)?,
|
||||
});
|
||||
Some(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue