mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
Remove RustPython fork (#523)
This commit is contained in:
parent
b060ae2f22
commit
2415d73260
173 changed files with 2071 additions and 2056 deletions
|
@ -137,7 +137,7 @@ pub fn to_absolute(relative: &Location, base: &Location) -> Location {
|
|||
if relative.row() == 1 {
|
||||
Location::new(
|
||||
relative.row() + base.row() - 1,
|
||||
relative.column() + base.column() - 1,
|
||||
relative.column() + base.column(),
|
||||
)
|
||||
} else {
|
||||
Location::new(relative.row() + base.row() - 1, relative.column())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue