Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Oct 14, 2022
1 parent dc5d5bd commit c3de93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/revm_precompiles/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub enum SpecId {

impl SpecId {
pub const fn enabled(self, spec_id: u8) -> bool {
spec_id as u8 >= self as u8
spec_id >= self as u8
}
}

Expand Down

0 comments on commit c3de93d

Please sign in to comment.