mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 19:37:54 +03:00
fix(lints): clippy 1.84
This commit is contained in:
parent
168b11e091
commit
c1d382a532
15 changed files with 34 additions and 42 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue