Skip to content
Permalink
Browse files

remove dead_code

  • Loading branch information...
ry committed Mar 15, 2019
1 parent 714c9b5 commit 6ce2714a4bead8dc03634138bc871f97d11e3a63
Showing with 1 addition and 7 deletions.
  1. +1 −7 core/http_bench.rs
@@ -99,12 +99,6 @@ pub type HttpBenchOp = dyn Future<Item = i32, Error = std::io::Error> + Send;

struct HttpBench();

impl HttpBench {
fn new() -> Self {
Self()
}
}

impl Behavior for HttpBench {
fn startup_snapshot(&mut self) -> Option<deno_buf> {
None
@@ -174,7 +168,7 @@ fn main() {
let js_source = include_str!("http_bench.js");

let main_future = lazy(move || {
let isolate = deno_core::Isolate::new(HttpBench::new());
let isolate = deno_core::Isolate::new(HttpBench());

isolate.shared_init();

0 comments on commit 6ce2714

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.