TextProvider with generic return type

This commit is contained in:
Andrew Hlynskyi 2023-07-22 21:38:55 +03:00
parent 0fb816d1f9
commit 7938db90fe
2 changed files with 64 additions and 41 deletions

View file

@ -165,7 +165,7 @@ where
struct HighlightIterLayer<'a> {
_tree: Tree,
cursor: QueryCursor,
captures: iter::Peekable<QueryCaptures<'a, 'a, &'a [u8]>>,
captures: iter::Peekable<QueryCaptures<'a, 'a, &'a [u8], &'a [u8]>>,
config: &'a HighlightConfiguration,
highlight_end_stack: Vec<usize>,
scope_stack: Vec<LocalScope<'a>>,