Simplify inlay hints needs_resolve

This commit is contained in:
Lukas Wirth 2024-03-12 15:02:17 +01:00
parent f07489ada9
commit 3115fd8b41
15 changed files with 6 additions and 24 deletions

View file

@ -31,7 +31,6 @@ pub(super) fn hints(
if ty.lifetime().is_none() {
let t = ty.amp_token()?;
acc.push(InlayHint {
needs_resolve: false,
range: t.text_range(),
kind: InlayKind::Lifetime,
label: "'static".into(),