aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/data_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/data_loader.rs')
-rw-r--r--components/net/data_loader.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/net/data_loader.rs b/components/net/data_loader.rs
index d81cec9a7e0..5380a87f828 100644
--- a/components/net/data_loader.rs
+++ b/components/net/data_loader.rs
@@ -2,16 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use hyper::mime::{Mime, TopLevel, SubLevel, Attr, Value};
+use hyper::mime::{Attr, Mime, SubLevel, TopLevel, Value};
use mime_classifier::MimeClassifier;
-use net_traits::LoadConsumer;
-use net_traits::ProgressMsg::{Payload, Done};
use net_traits::{LoadData, Metadata, NetworkError};
+use net_traits::LoadConsumer;
+use net_traits::ProgressMsg::{Done, Payload};
use resource_thread::{CancellationListener, send_error, start_sending_sniffed_opt};
use rustc_serialize::base64::FromBase64;
use std::sync::Arc;
-use url::percent_encoding::percent_decode;
use url::{Position, Url};
+use url::percent_encoding::percent_decode;
pub fn factory(load_data: LoadData,
senders: LoadConsumer,