diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 23:45:06 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 45f7199eee82c66637ec68287eafa40a651001c4 (patch) | |
tree | 8c0802f4ac7b89c2ce4d73063c8f65b9ee5face9 /components/script/fetch.rs | |
parent | 86f148fb97601413c0d983f21b760d973ade7a75 (diff) | |
download | servo-45f7199eee82c66637ec68287eafa40a651001c4.tar.gz servo-45f7199eee82c66637ec68287eafa40a651001c4.zip |
`cargo fix --edition`
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index 6590b17a4e7..ca4de47dc82 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -2,22 +2,22 @@ * 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 dom::bindings::codegen::Bindings::RequestBinding::RequestInfo; -use dom::bindings::codegen::Bindings::RequestBinding::RequestInit; -use dom::bindings::codegen::Bindings::ResponseBinding::ResponseBinding::ResponseMethods; -use dom::bindings::codegen::Bindings::ResponseBinding::ResponseType as DOMResponseType; -use dom::bindings::error::Error; -use dom::bindings::inheritance::Castable; -use dom::bindings::refcounted::{Trusted, TrustedPromise}; -use dom::bindings::reflector::DomObject; -use dom::bindings::root::DomRoot; -use dom::bindings::trace::RootedTraceableBox; -use dom::globalscope::GlobalScope; -use dom::headers::Guard; -use dom::promise::Promise; -use dom::request::Request; -use dom::response::Response; -use dom::serviceworkerglobalscope::ServiceWorkerGlobalScope; +use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInfo; +use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInit; +use crate::dom::bindings::codegen::Bindings::ResponseBinding::ResponseBinding::ResponseMethods; +use crate::dom::bindings::codegen::Bindings::ResponseBinding::ResponseType as DOMResponseType; +use crate::dom::bindings::error::Error; +use crate::dom::bindings::inheritance::Castable; +use crate::dom::bindings::refcounted::{Trusted, TrustedPromise}; +use crate::dom::bindings::reflector::DomObject; +use crate::dom::bindings::root::DomRoot; +use crate::dom::bindings::trace::RootedTraceableBox; +use crate::dom::globalscope::GlobalScope; +use crate::dom::headers::Guard; +use crate::dom::promise::Promise; +use crate::dom::request::Request; +use crate::dom::response::Response; +use crate::dom::serviceworkerglobalscope::ServiceWorkerGlobalScope; use ipc_channel::ipc; use ipc_channel::router::ROUTER; use js::jsapi::JSAutoCompartment; @@ -26,12 +26,12 @@ use net_traits::{FilteredMetadata, FetchMetadata, Metadata}; use net_traits::CoreResourceMsg::Fetch as NetTraitsFetch; use net_traits::request::{Request as NetTraitsRequest, ServiceWorkersMode}; use net_traits::request::RequestInit as NetTraitsRequestInit; -use network_listener::{NetworkListener, PreInvoke}; +use crate::network_listener::{NetworkListener, PreInvoke}; use servo_url::ServoUrl; use std::mem; use std::rc::Rc; use std::sync::{Arc, Mutex}; -use task_source::TaskSourceName; +use crate::task_source::TaskSourceName; struct FetchContext { fetch_promise: Option<TrustedPromise>, |