mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-16 09:35:19 +00:00
remove unnecessary mut in compiler.rs
This commit is contained in:
parent
acd73d21fe
commit
91ecc3df9a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue