From 91ecc3df9a71954c56003eac4fce4f78f3598314 Mon Sep 17 00:00:00 2001 From: HyeockJinKim Date: Sun, 5 Sep 2021 17:50:08 +0900 Subject: [PATCH] remove unnecessary mut in compiler.rs --- src/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.rs b/src/compile.rs index beded10..f78e641 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -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() }