Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/lsp.rs')
| -rw-r--r-- | helix-term/src/commands/lsp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs index fcc0333e..e52b2bf4 100644 --- a/helix-term/src/commands/lsp.rs +++ b/helix-term/src/commands/lsp.rs @@ -1288,7 +1288,7 @@ fn compute_inlay_hints_for_view( if !doc.inlay_hints_oudated && doc .inlay_hints(view_id) - .map_or(false, |dih| dih.id == new_doc_inlay_hints_id) + .is_some_and(|dih| dih.id == new_doc_inlay_hints_id) { return None; } |