mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-19 19:15:43 +00:00
Change get_row() into row()
This commit is contained in:
parent
57b4d432ef
commit
6f063a402d
2 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ impl fmt::Display for CompileError {
|
|||
}?;
|
||||
|
||||
// Print line number:
|
||||
write!(f, " at line {:?}", self.location.get_row())
|
||||
write!(f, " at line {:?}", self.location.row())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue