Change get_row() into row()

This commit is contained in:
Windel Bouwman 2019-06-30 20:23:01 +02:00
parent 57b4d432ef
commit 6f063a402d
2 changed files with 3 additions and 3 deletions

View file

@ -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())
}
}