diff --git a/components/script/clipboard_provider.rs b/components/script/clipboard_provider.rs index 2b5253f22e8..af67919125b 100644 --- a/components/script/clipboard_provider.rs +++ b/components/script/clipboard_provider.rs @@ -5,7 +5,7 @@ use msg::constellation_msg::ConstellationChan; use msg::constellation_msg::Msg as ConstellationMsg; -use collections::borrow::ToOwned; +use std::borrow::ToOwned; use std::sync::mpsc::channel; pub trait ClipboardProvider { diff --git a/components/script/dom/imagedata.rs b/components/script/dom/imagedata.rs index 99dfbc853a7..2748fa1d438 100644 --- a/components/script/dom/imagedata.rs +++ b/components/script/dom/imagedata.rs @@ -12,7 +12,7 @@ use js::jsapi::{JSContext, JSObject}; use js::jsfriendapi::bindgen::{JS_NewUint8ClampedArray, JS_GetUint8ClampedArrayData}; use libc::uint8_t; use std::vec::Vec; -use collections::slice; +use std::slice; use std::ptr; #[dom_struct] diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs index 0afad8294ae..0e47e73fd90 100644 --- a/components/script/dom/storage.rs +++ b/components/script/dom/storage.rs @@ -17,13 +17,12 @@ use dom::window::WindowHelpers; use util::str::DOMString; use page::IterablePage; use net_traits::storage_task::{StorageTask, StorageTaskMsg, StorageType}; +use std::borrow::ToOwned; use std::sync::mpsc::channel; use url::Url; use script_task::{ScriptTask, ScriptMsg, MainThreadRunnable}; -use collections::borrow::ToOwned; - #[dom_struct] pub struct Storage { reflector_: Reflector, diff --git a/components/script/lib.rs b/components/script/lib.rs index 377be0b4e07..afc7e945903 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -25,7 +25,6 @@ extern crate log; extern crate core; extern crate devtools_traits; extern crate cssparser; -extern crate collections; extern crate geom; extern crate html5ever; extern crate encoding;