fn span_to_lsp_range(&self, span: Span) -> lsp::Range {
        let start = self.offset_to_lsp_position(span.start.into_usize());
        let end = self.offset_to_lsp_position(span.end.into_usize());

        lsp::Range { start, end }
    }
/// Convert a span to an lsp range.
Convert a span to an lsp range.
Convert a span to an lsp range .
fn span_to_lsp_range(&self, span: Span) -> lsp::Range {
        let start = self.offset_to_lsp_position(span.start.into_usize());
        let end = self.offset_to_lsp_position(span.end.into_usize());
        lsp::Range { start, end }
    }
fn span_to_lsp_range ( & self , span : Span ) -> lsp :: Range { let start = self . offset_to_lsp_position ( span . start . into_usize ( ) ) ; let end = self . offset_to_lsp_position ( span . end . into_usize ( ) ) ; lsp :: Range { start , end } }
Convert a span to an lsp range.
Convert a span to an lsp range .
&self
span
Span
&self
span
Span