aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/connector.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-11-06 20:38:02 +0100
committerPyfisch <pyfisch@gmail.com>2018-11-06 22:35:07 +0100
commit9e92eb205a2a12fe0be883e42cb7f82deebc9031 (patch)
tree48c1660b942d5dfffb289dc5d4110604caca54fb /components/net/connector.rs
parent4a947dd7195c3ece1e4996a6bdf7c300bf6ec655 (diff)
downloadservo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.tar.gz
servo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.zip
Reorder imports
Diffstat (limited to 'components/net/connector.rs')
-rw-r--r--components/net/connector.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/net/connector.rs b/components/net/connector.rs
index e347862d2c9..38693e70e24 100644
--- a/components/net/connector.rs
+++ b/components/net/connector.rs
@@ -5,17 +5,17 @@
use crate::hosts::replace_host;
use crate::http_loader::Decoder;
use flate2::read::GzDecoder;
-use hyper::{Body, Client};
use hyper::body::Payload;
-use hyper::client::HttpConnector as HyperHttpConnector;
use hyper::client::connect::{Connect, Destination};
+use hyper::client::HttpConnector as HyperHttpConnector;
use hyper::rt::Future;
+use hyper::{Body, Client};
use hyper_openssl::HttpsConnector;
use openssl::ssl::{SslConnector, SslConnectorBuilder, SslMethod, SslOptions};
use openssl::x509;
use std::io::{Cursor, Read};
-use tokio::prelude::{Async, Stream};
use tokio::prelude::future::Executor;
+use tokio::prelude::{Async, Stream};
pub const BUF_SIZE: usize = 32768;