aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/net/http_loader.rs3
-rw-r--r--tests/unit/util/lib.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/net/http_loader.rs b/tests/unit/net/http_loader.rs
index b20585d8f36..5486840a535 100644
--- a/tests/unit/net/http_loader.rs
+++ b/tests/unit/net/http_loader.rs
@@ -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};
diff --git a/tests/unit/util/lib.rs b/tests/unit/util/lib.rs
index b3157b85ca0..a844057a4b0 100644
--- a/tests/unit/util/lib.rs
+++ b/tests/unit/util/lib.rs
@@ -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)]