Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
neotheprogramist committed Nov 3, 2023
1 parent f28194c commit 1f60641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/benches/tests/character.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ proptest! {
#[test]
#[ignore] // needs a running katana
fn bench_complex_update_minimal(s in "[0-9]{9}") {
let calldata = FieldElement::from(u32::from_str_radix(&s, 10).unwrap());
let calldata = FieldElement::from(s.parse::<u32>().unwrap());
let fee = estimate_gas_last(vec![
BenchCall("bench_complex_set_default", vec![]),
BenchCall("bench_complex_update_minimal", vec![calldata])
Expand Down Expand Up @@ -68,7 +68,7 @@ proptest! {
#[test]
#[ignore] // needs a running katana
fn bench_complex_get_minimal(s in "[0-9]{9}") {
let calldata = FieldElement::from(u32::from_str_radix(&s, 10).unwrap());
let calldata = FieldElement::from(s.parse::<u32>().unwrap());
let fee = estimate_gas_last(vec![
BenchCall("bench_complex_set_default", vec![]),
BenchCall("bench_complex_update_minimal", vec![calldata]),
Expand Down

0 comments on commit 1f60641

Please sign in to comment.