mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 21:01:01 +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
|
where
|
||||||
M: Measurement,
|
M: Measurement,
|
||||||
{
|
{
|
||||||
return c.benchmark_group(group_name);
|
c.benchmark_group(group_name)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn bench_baseline(c: &mut Criterion) {
|
fn bench_baseline(c: &mut Criterion) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ pub struct EVMLAData<'ctx> {
|
|||||||
pub stack: Vec<Argument<'ctx>>,
|
pub stack: Vec<Argument<'ctx>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'ctx> EVMLAData<'ctx> {
|
impl EVMLAData<'_> {
|
||||||
/// The default stack size.
|
/// The default stack size.
|
||||||
pub const DEFAULT_STACK_SIZE: usize = 64;
|
pub const DEFAULT_STACK_SIZE: usize = 64;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user