Draft the new data structures

This commit is contained in:
Kirill Bulatov 2025-07-18 12:37:12 +03:00
parent ee3245c9a5
commit c06534b079
2 changed files with 30 additions and 2 deletions

View file

@ -48,7 +48,7 @@ impl InlayHintCache {
range: Range<usize>,
known_cache_version: Option<usize>,
cx: &mut Context<Self>,
) -> Option<Shared<Task<InlayHints>>> {
) -> Option<(Range<BufferRow>, Shared<Task<InlayHints>>)> {
todo!("TODO kb")
}
// we want to store the cache version outbound, so they can query with it: we can return nothing (`Option`) if the version matches