mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove unnecessary extern crates from networking unit tests.
This commit is contained in:
parent
a8f655caf3
commit
7e1c7075e5
2 changed files with 3 additions and 7 deletions
|
@ -2,8 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
extern crate cookie as cookie_rs;
|
||||
|
||||
use cookie_rs;
|
||||
use net::cookie::Cookie;
|
||||
use net::cookie_storage::CookieStorage;
|
||||
use net_traits::CookieSource;
|
||||
|
|
|
@ -2,17 +2,14 @@
|
|||
* 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/. */
|
||||
|
||||
extern crate hyper;
|
||||
extern crate hyper_serde;
|
||||
|
||||
use hyper::header::ContentType;
|
||||
use hyper::mime::{Attr, Mime, SubLevel, TopLevel, Value};
|
||||
use hyper_serde::Serde;
|
||||
use ipc_channel::ipc;
|
||||
use msg::constellation_msg::{PipelineId, ReferrerPolicy};
|
||||
use net_traits::{LoadContext, LoadData, LoadOrigin, NetworkError};
|
||||
use net_traits::LoadConsumer::Channel;
|
||||
use net_traits::ProgressMsg::{Done, Payload};
|
||||
use self::hyper::header::ContentType;
|
||||
use self::hyper::mime::{Attr, Mime, SubLevel, TopLevel, Value};
|
||||
use url::Url;
|
||||
|
||||
struct DataLoadTest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue