Renamed to byte_range and changed Range generics [skip ci]

This commit is contained in:
Michael van Straten 2023-03-11 12:14:06 +01:00
parent 366705ac33
commit 19d5c33867

View file

@ -298,7 +298,7 @@ impl server::Span for RustAnalyzer {
// FIXME handle span // FIXME handle span
span span
} }
fn position(&mut self, _span: Self::Span) -> Range<u32> { fn byte_range(&mut self, _span: Self::Span) -> Range<usize> {
// FIXME handle span // FIXME handle span
Range { start: 0, end: 0 } Range { start: 0, end: 0 }
} }