Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Dec 13, 2024
1 parent c93b237 commit 3e32d1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vm/gas-algebra/src/abstract_algebra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,16 +275,16 @@ where
#[inline]
fn evaluate(&self, feature_version: u64, env: &E) -> GasQuantity<Self::Unit> {
match self {
Either::Left(left) => left.evaluate(feature_version, env),
Either::Right(right) => right.evaluate(feature_version, env),
Self::Left(left) => left.evaluate(feature_version, env),
Self::Right(right) => right.evaluate(feature_version, env),
}
}

#[inline]
fn visit(&self, visitor: &mut impl GasExpressionVisitor) {
match self {
Either::Left(left) => left.visit(visitor),
Either::Right(right) => right.visit(visitor),
Self::Left(left) => left.visit(visitor),
Self::Right(right) => right.visit(visitor),
}
}
}
Expand Down

0 comments on commit 3e32d1d

Please sign in to comment.