about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Chase <samebchase@gmail.com>2013-05-12 21:02:12 +0530
committerSamuel Chase <samebchase@gmail.com>2013-05-12 21:02:12 +0530
commit0acb6abb86125a1db878c256fbcf1a94b2577feb (patch)
tree8eeaef0f56c89d007ece3a6120870dc0b30b2888 /src
parent37bea2a7d07b8a42d9502b7318cf9317ad3680b1 (diff)
Add use declaration for container::Set
All tests pass now.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/to_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/to_str.rs b/src/libcore/to_str.rs
index 08e72e8fe86..58a9f768644 100644
--- a/src/libcore/to_str.rs
+++ b/src/libcore/to_str.rs
@@ -14,7 +14,6 @@ The `ToStr` trait for converting to strings
 
 */
 
-use str;
 use str::OwnedStr;
 use hashmap::HashMap;
 use hashmap::HashSet;
@@ -179,6 +178,7 @@ impl<A:ToStr> ToStr for @[A] {
 mod tests {
     use hashmap::HashMap;
     use hashmap::HashSet;
+    use container::Set;
     #[test]
     fn test_simple_types() {
         assert!(1i.to_str() == ~"1");