Get rid of unneeded mut's
This commit is contained in:
parent
6c369b072f
commit
2b8e2749a4
@ -248,12 +248,12 @@ impl ProgrammingLanguageInterface for Schala {
|
||||
fn run_computation(&mut self, request: ComputationRequest) -> ComputationResponse {
|
||||
let ComputationRequest { source, debug_requests } = request;
|
||||
|
||||
let mut token_debug_artifact = None;
|
||||
let mut parsing_debug_artifact = None;
|
||||
let mut symbol_debug_artifact = None;
|
||||
let mut typechecking_debug_artifact = None;
|
||||
let mut reducing_debug_artifact = None;
|
||||
let mut eval_debug_artifact = None;
|
||||
let token_debug_artifact = None;
|
||||
let parsing_debug_artifact = None;
|
||||
let symbol_debug_artifact = None;
|
||||
let typechecking_debug_artifact = None;
|
||||
let reducing_debug_artifact = None;
|
||||
let eval_debug_artifact = None;
|
||||
|
||||
self.source_reference.load_new_source(source);
|
||||
let main_output: Result<String, String> = tokenizing(source, self, token_debug_artifact)
|
||||
|
Loading…
Reference in New Issue
Block a user