Skip to content

Commit

Permalink
fix new clippy lint (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Leutwiler <[email protected]>
  • Loading branch information
xermicus authored Dec 10, 2024
1 parent 4e5482b commit 6f2f158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/benchmarks/benches/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn group<'error, M>(c: &'error mut Criterion<M>, group_name: &str) -> BenchmarkG
where
M: Measurement,
{
return c.benchmark_group(group_name);
c.benchmark_group(group_name)
}

fn bench_baseline(c: &mut Criterion) {
Expand Down
2 changes: 1 addition & 1 deletion crates/llvm-context/src/polkavm/context/evmla_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct EVMLAData<'ctx> {
pub stack: Vec<Argument<'ctx>>,
}

impl<'ctx> EVMLAData<'ctx> {
impl EVMLAData<'_> {
/// The default stack size.
pub const DEFAULT_STACK_SIZE: usize = 64;

Expand Down

0 comments on commit 6f2f158

Please sign in to comment.