Kill unnecessary mutable
This commit is contained in:
parent
7ba8c9dab9
commit
9ade0dd1e2
@ -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)));
|
||||||
|
Loading…
Reference in New Issue
Block a user