Cleaned up imports per coding standards.
No functional changes; just style.
This commit is contained in:
parent
813886b22c
commit
b91b6a746b
@ -10,7 +10,7 @@
|
||||
|
||||
//! Operations on ASCII strings and characters
|
||||
|
||||
use to_str::{ToStr,IntoStr};
|
||||
use to_str::{ToStr, IntoStr};
|
||||
use str;
|
||||
use str::Str;
|
||||
use str::StrSlice;
|
||||
@ -18,9 +18,9 @@ use str::OwnedStr;
|
||||
use container::Container;
|
||||
use cast;
|
||||
use iter::Iterator;
|
||||
use vec::{ImmutableVector,MutableVector,Vector};
|
||||
use vec::{ImmutableVector, MutableVector, Vector};
|
||||
use to_bytes::IterBytes;
|
||||
use option::{Option,Some,None};
|
||||
use option::{Option, Some, None};
|
||||
|
||||
/// Datatype to hold one ascii character. It wraps a `u8`, with the highest bit always zero.
|
||||
#[deriving(Clone, Eq, Ord, TotalOrd, TotalEq)]
|
||||
|
@ -10,10 +10,10 @@
|
||||
|
||||
//! Types dealing with dynamic mutability
|
||||
|
||||
use clone::{Clone,DeepClone};
|
||||
use clone::{Clone, DeepClone};
|
||||
use cmp::Eq;
|
||||
use ops::Drop;
|
||||
use option::{None,Option,Some};
|
||||
use option::{None, Option, Some};
|
||||
use cast;
|
||||
use kinds::{marker, Pod};
|
||||
|
||||
|
@ -41,8 +41,8 @@ local_data::get(key_vector, |opt| assert_eq!(*opt.unwrap(), ~[4]));
|
||||
// magic.
|
||||
|
||||
use cast;
|
||||
use option::{None,Option,Some};
|
||||
use vec::{ImmutableVector,MutableVector,OwnedVector};
|
||||
use option::{None, Option, Some};
|
||||
use vec::{ImmutableVector, MutableVector, OwnedVector};
|
||||
use iter::{Iterator};
|
||||
use rt::task::{Task, LocalStorage};
|
||||
use util::replace;
|
||||
|
@ -11,7 +11,7 @@
|
||||
//! Utilities for references
|
||||
|
||||
#[cfg(not(test))]
|
||||
use cmp::{Eq,Ord,Ordering,TotalEq,TotalOrd};
|
||||
use cmp::{Eq, Ord, Ordering, TotalEq, TotalOrd};
|
||||
|
||||
// Equality for region pointers
|
||||
#[cfg(not(test))]
|
||||
|
@ -20,9 +20,9 @@ use io::process;
|
||||
use io;
|
||||
use libc::{pid_t, c_int};
|
||||
use libc;
|
||||
use option::{None,Option,Some};
|
||||
use option::{None, Option, Some};
|
||||
use task::spawn;
|
||||
use path::{Path,GenericPath};
|
||||
use path::{Path, GenericPath};
|
||||
use result::Ok;
|
||||
use str::Str;
|
||||
use vec::Vector;
|
||||
|
@ -10,16 +10,16 @@
|
||||
|
||||
//! Ordered containers with integer keys, implemented as radix tries (`TrieSet` and `TrieMap` types)
|
||||
|
||||
use option::{None,Option,Some};
|
||||
use container::{Container,Map,Mutable,MutableMap};
|
||||
use iter::{Extendable,FromIterator,Iterator};
|
||||
use option::{None, Option, Some};
|
||||
use container::{Container, Map, Mutable, MutableMap};
|
||||
use iter::{Extendable, FromIterator, Iterator};
|
||||
use mem;
|
||||
use uint;
|
||||
use util::replace;
|
||||
use unstable::intrinsics::init;
|
||||
use vec;
|
||||
use ptr::RawPtr;
|
||||
use vec::{ImmutableVector,Items,MutableVector,MutItems,OwnedVector};
|
||||
use vec::{ImmutableVector, Items, MutableVector, MutItems, OwnedVector};
|
||||
|
||||
// FIXME: #5244: need to manually update the TrieNode constructor
|
||||
static SHIFT: uint = 4;
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#[cfg(not(test))]
|
||||
use default::Default;
|
||||
use cmp::{Eq,Equal,Ord,Ordering,TotalEq,TotalOrd};
|
||||
use cmp::{Eq, Equal, Ord, Ordering, TotalEq, TotalOrd};
|
||||
|
||||
#[cfg(not(test))]
|
||||
impl Eq for () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user