remove unnecessary mut in compiler.rs

This commit is contained in:
HyeockJinKim 2021-09-05 17:50:08 +09:00
parent acd73d21fe
commit 91ecc3df9a

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