Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nilskch committed Aug 24, 2024
1 parent 1a1493d commit 236c213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/src/evaluator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -140,6 +141,7 @@ impl Evaluator {
}
}

#[allow(clippy::mutable_key_type)]
fn eval_hash_index_expression(
&mut self,
hash: HashMap<Object, Object>,
Expand Down

0 comments on commit 236c213

Please sign in to comment.