Skip to content

Commit b91b6a7

Browse files
committed
Cleaned up imports per coding standards.
No functional changes; just style.
1 parent 813886b commit b91b6a7

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

src/libstd/ascii.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010

1111
//! Operations on ASCII strings and characters
1212

13-
use to_str::{ToStr,IntoStr};
13+
use to_str::{ToStr, IntoStr};
1414
use str;
1515
use str::Str;
1616
use str::StrSlice;
1717
use str::OwnedStr;
1818
use container::Container;
1919
use cast;
2020
use iter::Iterator;
21-
use vec::{ImmutableVector,MutableVector,Vector};
21+
use vec::{ImmutableVector, MutableVector, Vector};
2222
use to_bytes::IterBytes;
23-
use option::{Option,Some,None};
23+
use option::{Option, Some, None};
2424

2525
/// Datatype to hold one ascii character. It wraps a `u8`, with the highest bit always zero.
2626
#[deriving(Clone, Eq, Ord, TotalOrd, TotalEq)]

src/libstd/cell.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
//! Types dealing with dynamic mutability
1212

13-
use clone::{Clone,DeepClone};
13+
use clone::{Clone, DeepClone};
1414
use cmp::Eq;
1515
use ops::Drop;
16-
use option::{None,Option,Some};
16+
use option::{None, Option, Some};
1717
use cast;
1818
use kinds::{marker, Pod};
1919

src/libstd/local_data.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ local_data::get(key_vector, |opt| assert_eq!(*opt.unwrap(), ~[4]));
4141
// magic.
4242

4343
use cast;
44-
use option::{None,Option,Some};
45-
use vec::{ImmutableVector,MutableVector,OwnedVector};
44+
use option::{None, Option, Some};
45+
use vec::{ImmutableVector, MutableVector, OwnedVector};
4646
use iter::{Iterator};
4747
use rt::task::{Task, LocalStorage};
4848
use util::replace;

src/libstd/reference.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! Utilities for references
1212

1313
#[cfg(not(test))]
14-
use cmp::{Eq,Ord,Ordering,TotalEq,TotalOrd};
14+
use cmp::{Eq, Ord, Ordering, TotalEq, TotalOrd};
1515

1616
// Equality for region pointers
1717
#[cfg(not(test))]

src/libstd/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ use io::process;
2020
use io;
2121
use libc::{pid_t, c_int};
2222
use libc;
23-
use option::{None,Option,Some};
23+
use option::{None, Option, Some};
2424
use task::spawn;
25-
use path::{Path,GenericPath};
25+
use path::{Path, GenericPath};
2626
use result::Ok;
2727
use str::Str;
2828
use vec::Vector;

src/libstd/trie.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010

1111
//! Ordered containers with integer keys, implemented as radix tries (`TrieSet` and `TrieMap` types)
1212

13-
use option::{None,Option,Some};
14-
use container::{Container,Map,Mutable,MutableMap};
15-
use iter::{Extendable,FromIterator,Iterator};
13+
use option::{None, Option, Some};
14+
use container::{Container, Map, Mutable, MutableMap};
15+
use iter::{Extendable, FromIterator, Iterator};
1616
use mem;
1717
use uint;
1818
use util::replace;
1919
use unstable::intrinsics::init;
2020
use vec;
2121
use ptr::RawPtr;
22-
use vec::{ImmutableVector,Items,MutableVector,MutItems,OwnedVector};
22+
use vec::{ImmutableVector, Items, MutableVector, MutItems, OwnedVector};
2323

2424
// FIXME: #5244: need to manually update the TrieNode constructor
2525
static SHIFT: uint = 4;

src/libstd/unit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#[cfg(not(test))]
1414
use default::Default;
15-
use cmp::{Eq,Equal,Ord,Ordering,TotalEq,TotalOrd};
15+
use cmp::{Eq, Equal, Ord, Ordering, TotalEq, TotalOrd};
1616

1717
#[cfg(not(test))]
1818
impl Eq for () {

0 commit comments

Comments
 (0)