mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-10 12:18:49 +00:00
Renamed to byte_range and changed Range generics [skip ci]
This commit is contained in:
parent
366705ac33
commit
19d5c33867
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ impl server::Span for RustAnalyzer {
|
|||
// FIXME handle span
|
||||
span
|
||||
}
|
||||
fn position(&mut self, _span: Self::Span) -> Range<u32> {
|
||||
fn byte_range(&mut self, _span: Self::Span) -> Range<usize> {
|
||||
// FIXME handle span
|
||||
Range { start: 0, end: 0 }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue