remove unnecessary mut in compiler.rs

This commit is contained in:
HyeockJinKim
2021-09-05 17:50:08 +09:00
parent 9db7544084
commit 85ec817b73

View File

@@ -2460,7 +2460,7 @@ impl Compiler {
self.current_source_location = location;
}
fn get_source_line_number(&mut self) -> usize {
fn get_source_line_number(&self) -> usize {
self.current_source_location.row()
}