summaryrefslogtreecommitdiff
path: root/ext/web/benches/timers_ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/benches/timers_ops.rs')
-rw-r--r--ext/web/benches/timers_ops.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/web/benches/timers_ops.rs b/ext/web/benches/timers_ops.rs
index 657082df4..f177f7d83 100644
--- a/ext/web/benches/timers_ops.rs
+++ b/ext/web/benches/timers_ops.rs
@@ -7,6 +7,7 @@ use deno_bench_util::bencher::Bencher;
use deno_core::Extension;
use deno_core::ExtensionFileSource;
use deno_core::ExtensionFileSourceCode;
+use deno_core::OpState;
use deno_web::BlobStore;
struct Permissions;
@@ -15,12 +16,7 @@ impl deno_web::TimersPermission for Permissions {
fn allow_hrtime(&mut self) -> bool {
true
}
- fn check_unstable(
- &self,
- _state: &deno_core::OpState,
- _api_name: &'static str,
- ) {
- }
+ fn check_unstable(&self, _state: &OpState, _api_name: &'static str) {}
}
fn setup() -> Vec<Extension> {