Fixed extra call to lo in end [skip ci]
This commit is contained in:
parent
af24c376a2
commit
3a3ecbfae6
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ impl server::Span for Rustc<'_, '_> {
|
|||
}
|
||||
|
||||
fn position(&mut self, span: Self::Span) -> Range<u32> {
|
||||
Range { start: span.lo().0, end: span.lo().0 }
|
||||
Range { start: span.lo().0, end: span.hi().0 }
|
||||
}
|
||||
|
||||
fn start(&mut self, span: Self::Span) -> LineColumn {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue