mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 09:27:58 +00:00
fix new clippy lint (#132)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user