mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Fixed extra call to lo in end [skip ci]
This commit is contained in:
@@ -635,7 +635,7 @@ fn source(&mut self, span: Self::Span) -> Self::Span {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user