Skip to content

Commit

Permalink
allow clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Mar 6, 2024
1 parent 8d9a058 commit eb6db5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cost-model/src/transaction_cost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub enum TransactionCost {

impl TransactionCost {
pub fn sum(&self) -> u64 {
#![allow(clippy::assertions_on_constants)]
match self {
Self::SimpleVote { .. } => {
const _: () = assert!(
Expand Down

0 comments on commit eb6db5c

Please sign in to comment.