mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
tests: Fix warning in unit tests
This commit is contained in:
parent
4460712a8f
commit
46829bd53c
2 changed files with 2 additions and 3 deletions
|
@ -19,12 +19,11 @@ use hyper::status::StatusCode;
|
|||
use msg::constellation_msg::PipelineId;
|
||||
use net::cookie::Cookie;
|
||||
use net::cookie_storage::CookieStorage;
|
||||
use net::hsts::{HSTSList, HSTSEntry};
|
||||
use net::hsts::HSTSEntry;
|
||||
use net::http_loader::{load, LoadError, HttpRequestFactory, HttpRequest, HttpResponse, HttpState};
|
||||
use net::resource_thread::{AuthCacheEntry, CancellationListener};
|
||||
use net_traits::{LoadData, CookieSource, LoadContext, IncludeSubdomains};
|
||||
use std::borrow::Cow;
|
||||
use std::collections::HashMap;
|
||||
use std::io::{self, Write, Read, Cursor};
|
||||
use std::sync::mpsc::Receiver;
|
||||
use std::sync::{Arc, mpsc, RwLock};
|
||||
|
|
|
@ -2,7 +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/. */
|
||||
|
||||
#![cfg_attr(test, feature(plugin, custom_derive, heap_api))]
|
||||
#![cfg_attr(test, feature(plugin, custom_derive))]
|
||||
#![cfg_attr(test, plugin(plugins))]
|
||||
#![feature(alloc)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue