Skip to content

Commit

Permalink
fix: clippy problems
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Oct 21, 2024
1 parent 5310273 commit ba03f27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/blockifier/src/test_utils/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ impl FeatureContract {

let supports_native = matches!(self, Self::TestContract(_));

(supports_legacy as u32) | (supports_cairo1 as u32) << 1 | (supports_native as u32) << 2
u32::from(supports_legacy)
| u32::from(supports_cairo1) << 1
| u32::from(supports_native) << 2
}

pub fn set_cairo_version(&mut self, version: CairoVersion) {
Expand Down

0 comments on commit ba03f27

Please sign in to comment.