diff --git a/components/profile/lib.rs b/components/profile/lib.rs index 93665b440f9..22d7aa22224 100644 --- a/components/profile/lib.rs +++ b/components/profile/lib.rs @@ -9,7 +9,6 @@ #[macro_use] extern crate log; -extern crate collections; extern crate libc; #[macro_use] extern crate profile_traits; diff --git a/components/profile/time.rs b/components/profile/time.rs index 464796006fa..133b48c09c1 100644 --- a/components/profile/time.rs +++ b/components/profile/time.rs @@ -4,10 +4,10 @@ //! Timing functions. -use collections::BTreeMap; use profile_traits::time::{ProfilerCategory, ProfilerChan, ProfilerMsg, TimerMetadata}; use std::borrow::ToOwned; use std::cmp::Ordering; +use std::collections::BTreeMap; use std::f64; use std::sync::mpsc::{channel, Receiver}; use std::thread::sleep_ms;