Skip to content

Commit

Permalink
rust lint add else
Browse files Browse the repository at this point in the history
  • Loading branch information
snissn committed Aug 15, 2024
1 parent b283a30 commit 596d082
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actors/evm/src/interpreter/instructions/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ pub fn mcopy(

if size > 0 {
copy_within_memory(&mut state.memory, dest_index, src_index, size)
} else {
Ok(())
}
}

Expand Down

0 comments on commit 596d082

Please sign in to comment.