diff options
Diffstat (limited to 'components/net')
-rw-r--r-- | components/net/image_cache_task.rs | 2 | ||||
-rw-r--r-- | components/net/lib.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/components/net/image_cache_task.rs b/components/net/image_cache_task.rs index c16f5e9597b..e99d9047c0f 100644 --- a/components/net/image_cache_task.rs +++ b/components/net/image_cache_task.rs @@ -2,11 +2,11 @@ * 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 collections::borrow::ToOwned; use net_traits::image::base::{Image, load_from_memory}; use net_traits::image_cache_task::{ImageState, ImageCacheTask, ImageCacheChan, ImageCacheCommand}; use net_traits::image_cache_task::{ImageCacheResult, ImageResponse, UsePlaceholder}; use net_traits::load_whole_resource; +use std::borrow::ToOwned; use std::collections::HashMap; use std::collections::hash_map::Entry::{Occupied, Vacant}; use std::mem; diff --git a/components/net/lib.rs b/components/net/lib.rs index a69787276a1..5f5123c6106 100644 --- a/components/net/lib.rs +++ b/components/net/lib.rs @@ -15,7 +15,6 @@ extern crate net_traits; extern crate cookie as cookie_rs; extern crate devtools_traits; -extern crate collections; extern crate flate2; extern crate geom; extern crate hyper; |