Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
einar-polygon committed Aug 28, 2024
1 parent 6666a0b commit a0f0438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm_arithmetization/src/generation/jumpdest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ impl JumpDestTableWitness {
pub fn insert(&mut self, code_hash: &H256, ctx: usize, offset: usize) {
self.0
.entry(*code_hash)
.or_insert(ContextJumpDests::default());
.or_default();

self.0
.get_mut(code_hash)
.unwrap()
.0
.entry(ctx)
.or_insert(BTreeSet::default());
.or_default();

self.0
.get_mut(code_hash)
Expand Down

0 comments on commit a0f0438

Please sign in to comment.