diff --git a/crates/benchmarks/benches/execute.rs b/crates/benchmarks/benches/execute.rs index 5bb05051..9e0c2b99 100644 --- a/crates/benchmarks/benches/execute.rs +++ b/crates/benchmarks/benches/execute.rs @@ -46,7 +46,7 @@ fn group<'error, M>(c: &'error mut Criterion, group_name: &str) -> BenchmarkG where M: Measurement, { - return c.benchmark_group(group_name); + c.benchmark_group(group_name) } fn bench_baseline(c: &mut Criterion) { diff --git a/crates/llvm-context/src/polkavm/context/evmla_data.rs b/crates/llvm-context/src/polkavm/context/evmla_data.rs index ba8ac97e..f9e27a0c 100644 --- a/crates/llvm-context/src/polkavm/context/evmla_data.rs +++ b/crates/llvm-context/src/polkavm/context/evmla_data.rs @@ -13,7 +13,7 @@ pub struct EVMLAData<'ctx> { pub stack: Vec>, } -impl<'ctx> EVMLAData<'ctx> { +impl EVMLAData<'_> { /// The default stack size. pub const DEFAULT_STACK_SIZE: usize = 64;