Skip to content

Commit

Permalink
style(interpreter): make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
n0b0dyCN committed Apr 9, 2024
1 parent 83faa98 commit 8335dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/interpreter/src/interpreter/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ impl<'de> Deserialize<'de> for Interpreter {
NextAction,
}

#[allow(clippy::too_many_arguments)]
fn rebuild_interp(
contract: Contract,
program_counter: isize,
Expand Down Expand Up @@ -212,7 +213,7 @@ impl<'de> Deserialize<'de> for Interpreter {
}
}

const FIELDS: &'static [&'static str] = &[
const FIELDS: &[&str] = &[
"contract",
// use program_counter instead of instruction_pointer
"program_counter",
Expand Down

0 comments on commit 8335dd6

Please sign in to comment.