Audit and reduce unstable usage in profile

Reasons behind existing unstable features:

collections:

 - `[T].tail()` (naming)
   - Could use iterators instead
This commit is contained in:
Manish Goregaokar 2015-06-10 00:14:21 +05:30
parent c73eaefc47
commit 89d4ee88f4
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@
#[macro_use] extern crate log; #[macro_use] extern crate log;
extern crate collections;
extern crate libc; extern crate libc;
#[macro_use] #[macro_use]
extern crate profile_traits; extern crate profile_traits;

View file

@ -4,10 +4,10 @@
//! Timing functions. //! Timing functions.
use collections::BTreeMap;
use profile_traits::time::{ProfilerCategory, ProfilerChan, ProfilerMsg, TimerMetadata}; use profile_traits::time::{ProfilerCategory, ProfilerChan, ProfilerMsg, TimerMetadata};
use std::borrow::ToOwned; use std::borrow::ToOwned;
use std::cmp::Ordering; use std::cmp::Ordering;
use std::collections::BTreeMap;
use std::f64; use std::f64;
use std::sync::mpsc::{channel, Receiver}; use std::sync::mpsc::{channel, Receiver};
use std::thread::sleep_ms; use std::thread::sleep_ms;