Fix benchmarks.

This commit is contained in:
Stephen Chung
2020-04-24 16:20:03 +08:00
parent afc4f73ebf
commit c0eaf8a921
2 changed files with 1 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ fn bench_engine_register_fn(bench: &mut Bencher) {
}
bench.iter(|| {
let mut engine = Engine::new();
let mut engine = Engine::new_raw();
engine.register_fn("hello", hello);
});
}