Skip to content

Commit 7e68f99

Browse files
committed
Make Location's fields private again
1 parent 4d0eb06 commit 7e68f99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

parser/src/lexer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ pub enum LexicalErrorType {
7474

7575
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
7676
pub struct Location {
77-
pub row: usize,
78-
pub column: usize,
77+
row: usize,
78+
column: usize,
7979
}
8080

8181
impl Location {

0 commit comments

Comments
 (0)