Skip to content
Permalink
Browse files

remove dead_code

  • Loading branch information...
ry committed Mar 15, 2019
1 parent 1291e42 commit 9cde01ae914c0e6acafdd7e12d581a289ac1114b
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 9cde01a

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.