diff --git a/compiler/src/evaluator/mod.rs b/compiler/src/evaluator/mod.rs index 2cbfe19..7465a2a 100644 --- a/compiler/src/evaluator/mod.rs +++ b/compiler/src/evaluator/mod.rs @@ -112,6 +112,7 @@ impl Evaluator { } fn eval_hash_literal(&mut self, hash_literal: HashLiteral, env: &Env) -> EvaluationResult { + #[allow(clippy::mutable_key_type)] let mut pairs = HashMap::new(); for (key, value) in hash_literal.pairs.into_iter() { @@ -140,6 +141,7 @@ impl Evaluator { } } + #[allow(clippy::mutable_key_type)] fn eval_hash_index_expression( &mut self, hash: HashMap,