Skip to content

Commit

Permalink
Avoids unnecessary derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoximenes committed Dec 20, 2024
1 parent 367f77b commit 56b3354
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion arbitrator/arbutil/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ serde = { version = "1.0.130", features = ["derive", "rc"] }
num_enum = "0.7.1"
sha2 = "0.10.7"
sha3 = "0.10.8"
derivative = "2.2.0"
4 changes: 1 addition & 3 deletions arbitrator/arbutil/src/benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::evm::api::Ink;
use derivative::Derivative;
use std::time::{Duration, Instant};

// Benchmark is used to track the performance of blocks of code in stylus
#[derive(Derivative, Clone, Copy, Default)]
#[derivative(Debug)]
#[derive(Clone, Copy, Debug, Default)]
pub struct Benchmark {
pub timer: Option<Instant>,
pub elapsed_total: Duration,
Expand Down
1 change: 0 additions & 1 deletion arbitrator/tools/stylus_benchmark/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56b3354

Please sign in to comment.