Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Mar 24, 2021
1 parent b832de0 commit 1915b51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions benches/static_and_dynamic_functions.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};

use wasmer::*;
use wasmer_engine_jit::JIT;

static BASIC_WAT: &str = r#"(module
(func $multiply (import "env" "multiply") (param i32 i32) (result i32))
Expand Down Expand Up @@ -147,7 +146,7 @@ pub fn run_basic_dynamic_function(store: &Store, compiler_name: &str, c: &mut Cr
);
}

fn run_static_benchmarks(c: &mut Criterion) {
fn run_static_benchmarks(_c: &mut Criterion) {
#[cfg(feature = "llvm")]
{
let store = Store::new(&JIT::new(wasmer_compiler_llvm::LLVM::new()).engine());
Expand All @@ -167,7 +166,7 @@ fn run_static_benchmarks(c: &mut Criterion) {
}
}

fn run_dynamic_benchmarks(c: &mut Criterion) {
fn run_dynamic_benchmarks(_c: &mut Criterion) {
#[cfg(feature = "llvm")]
{
let store = Store::new(&JIT::new(wasmer_compiler_llvm::LLVM::new()).engine());
Expand Down

0 comments on commit 1915b51

Please sign in to comment.