From 2b8e2749a496a3e2942f904bfd4144fe72e75f7f Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 29 Apr 2019 23:57:38 -0700 Subject: [PATCH] Get rid of unneeded mut's --- schala-lang/language/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/schala-lang/language/src/lib.rs b/schala-lang/language/src/lib.rs index 22bf991..e9001ca 100644 --- a/schala-lang/language/src/lib.rs +++ b/schala-lang/language/src/lib.rs @@ -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 = tokenizing(source, self, token_debug_artifact)