mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-10 20:28:51 +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
|
// 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 }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue