chore(benches): remove unused pretty_env_logger import

This commit is contained in:
Sean McArthur
2017-08-28 15:11:52 -07:00
parent cb9aff3c52
commit 50fd4ab96d
2 changed files with 0 additions and 4 deletions

View File

@@ -3,7 +3,6 @@
extern crate futures; extern crate futures;
extern crate hyper; extern crate hyper;
extern crate pretty_env_logger;
extern crate test; extern crate test;
extern crate tokio_core; extern crate tokio_core;
@@ -21,7 +20,6 @@ use hyper::server::{self, Service};
#[bench] #[bench]
fn get_one_at_a_time(b: &mut test::Bencher) { fn get_one_at_a_time(b: &mut test::Bencher) {
let _ = pretty_env_logger::init();
let mut core = Core::new().unwrap(); let mut core = Core::new().unwrap();
let handle = core.handle(); let handle = core.handle();
let addr = spawn_hello(&handle); let addr = spawn_hello(&handle);
@@ -44,7 +42,6 @@ fn get_one_at_a_time(b: &mut test::Bencher) {
#[bench] #[bench]
fn post_one_at_a_time(b: &mut test::Bencher) { fn post_one_at_a_time(b: &mut test::Bencher) {
let _ = pretty_env_logger::init();
let mut core = Core::new().unwrap(); let mut core = Core::new().unwrap();
let handle = core.handle(); let handle = core.handle();
let addr = spawn_hello(&handle); let addr = spawn_hello(&handle);

View File

@@ -3,7 +3,6 @@
extern crate futures; extern crate futures;
extern crate hyper; extern crate hyper;
extern crate pretty_env_logger;
extern crate test; extern crate test;
use std::io::{Read, Write}; use std::io::{Read, Write};