Kill unnecessary mutable

This commit is contained in:
greg 2018-05-02 01:58:57 -07:00
parent 7ba8c9dab9
commit 9ade0dd1e2

View File

@ -74,7 +74,7 @@ impl ProgrammingLanguageInterface for Rukka {
} }
fn execute_pipeline(&mut self, input: &str, _eval_options: &EvalOptions) -> FinishedComputation { fn execute_pipeline(&mut self, input: &str, _eval_options: &EvalOptions) -> FinishedComputation {
let mut output = UnfinishedComputation::default(); let output = UnfinishedComputation::default();
let sexps = match read(input) { let sexps = match read(input) {
Err(err) => { Err(err) => {
return output.finish(Err(format!("Error: {}", err))); return output.finish(Err(format!("Error: {}", err)));