Remove useless background highlights code

This commit is contained in:
Kirill Bulatov 2023-09-14 22:08:02 +03:00
parent 396efec6e1
commit 9b43acfc88
5 changed files with 5 additions and 36 deletions

View file

@ -485,6 +485,7 @@ impl InlayHintCache {
self.hints.clear();
}
// TODO kb have a map
pub fn hint_by_id(&self, excerpt_id: ExcerptId, hint_id: InlayId) -> Option<InlayHint> {
self.hints
.get(&excerpt_id)?