add return value for the inlay hints removal

pull/8675/head
Matt Paras 2025-06-15 22:14:19 -07:00
parent ec38807642
commit a35388a9e1
1 changed files with 3 additions and 1 deletions

View File

@ -5169,7 +5169,9 @@ pub fn remove_inlay_hint_by_id(
doc.set_inlay_hints(
view_id,
DocumentInlayHints::empty_with_id(new_doc_inlay_hints_id),
)
);
return Some(());
}
return None;