@@ -1614,7 +1614,7 @@ impl<'a> Iterator for ChunksBytes<'a> {
16141614}
16151615
16161616pub struct RopeProvider<'a>(pub RopeSlice<'a>);
1617−impl<'a> TextProvider<&'a [u8]> for RopeProvider<'a> {
1617+impl<'a> TextProvider<'a> for RopeProvider<'a> {
16181618 type I = ChunksBytes<'a>;
16191619
16201620 fn text(&mut self, node: Node) -> Self::I {
@@ -1628,7 +1628,7 @@ impl<'a> TextProvider<&'a [u8]> for RopeProvider<'a> {
16281628struct HighlightIterLayer<'a> {
16291629 _tree: Option<Tree>,
16301630 cursor: QueryCursor,
1631− captures: RefCell<iter::Peekable<QueryCaptures<'a, 'a, RopeProvider<'a>, &'a [u8]>>>,
1631+ captures: RefCell<iter::Peekable<QueryCaptures<'a, 'a, RopeProvider<'a>>>>,
16321632 config: &'a HighlightConfiguration,
16331633 highlight_end_stack: Vec<usize>,
16341634 scope_stack: Vec<LocalScope<'a>>,