Clean up unused imports

This commit is contained in:
Kevin Ballard 2014-05-04 00:25:44 -07:00
parent 1d57da783b
commit fac0d4e135
3 changed files with 5 additions and 12 deletions

View File

@ -19,7 +19,6 @@ use num::{Float, FPNaN, FPInfinite, ToPrimitive};
use num;
use ops::{Add, Sub, Mul, Div, Rem, Neg};
use option::{None, Option, Some};
use slice::OwnedVector;
use slice::{CloneableVector, ImmutableVector, MutableVector};
use std::cmp::{Ord, Eq};
use str::{Str, StrSlice};

View File

@ -744,11 +744,6 @@ impl<'a, T: TotalOrd> MutableTotalOrdVector<T> for &'a mut [T] {
/// Unsafe operations
pub mod raw {
use iter::Iterator;
use ptr;
use slice::{MutableVector, OwnedVector};
use vec::Vec;
pub use core::slice::raw::{buf_as_slice, mut_buf_as_slice};
pub use core::slice::raw::{shift_ptr, pop_ptr};
}

View File

@ -85,10 +85,9 @@ use fmt;
use io::Writer;
use iter::{Iterator, range, AdditiveIterator};
use option::{None, Option, Some};
use ptr;
use from_str::FromStr;
use slice::{OwnedVector, ImmutableVector, MutableVector, CloneableVector};
use slice::{Vector};
use slice::{ImmutableVector, MutableVector, CloneableVector};
use slice::Vector;
use vec::Vec;
use default::Default;
use strbuf::StrBuf;
@ -671,9 +670,9 @@ pub mod raw {
use iter::Iterator;
use libc;
use ptr::RawPtr;
use ptr;
use slice::{MutableVector, OwnedVector, Vector};
use str::{is_utf8};
use raw::Slice;
use slice::ImmutableVector;
use str::is_utf8;
pub use core::str::raw::{from_utf8, c_str_to_static_slice, slice_bytes};
pub use core::str::raw::{slice_unchecked};