Clean up unused imports
This commit is contained in:
parent
1d57da783b
commit
fac0d4e135
@ -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};
|
||||
|
@ -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};
|
||||
}
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user