diff options
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index f3e4a0c0858..c839ab11451 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -34,8 +34,8 @@ extern crate url; extern crate uuid; extern crate webrender_api; -use cookie_rs::Cookie; -use filemanager_thread::FileManagerThreadMsg; +use crate::cookie_rs::Cookie; +use crate::filemanager_thread::FileManagerThreadMsg; use headers_core::HeaderMapExt; use headers_ext::{ContentType, ReferrerPolicy as ReferrerPolicyHeader}; use http::{Error as HttpError, HeaderMap}; @@ -47,11 +47,11 @@ use ipc_channel::ipc::{self, IpcReceiver, IpcSender}; use ipc_channel::router::ROUTER; use mime::Mime; use msg::constellation_msg::HistoryStateId; -use request::{Request, RequestInit}; -use response::{HttpsState, Response, ResponseInit}; +use crate::request::{Request, RequestInit}; +use crate::response::{HttpsState, Response, ResponseInit}; use servo_url::ServoUrl; use std::error::Error; -use storage_thread::StorageThreadMsg; +use crate::storage_thread::StorageThreadMsg; use url::percent_encoding; pub mod blob_url_store; @@ -283,7 +283,7 @@ where T: serde::Serialize + for<'de> serde::Deserialize<'de>, { /// send message T - fn send(&self, T) -> IpcSendResult; + fn send(&self, _: T) -> IpcSendResult; /// get underlying sender fn sender(&self) -> IpcSender<T>; } |