mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Fixed extra call to lo in end [skip ci]
This commit is contained in:
parent
af24c376a2
commit
3a3ecbfae6
@ -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…
Reference in New Issue
Block a user