Skip to content

Commit 0acb6ab

Browse files
committed
Add use declaration for container::Set
All tests pass now.
1 parent 37bea2a commit 0acb6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/to_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ The `ToStr` trait for converting to strings
1414
1515
*/
1616

17-
use str;
1817
use str::OwnedStr;
1918
use hashmap::HashMap;
2019
use hashmap::HashSet;
@@ -179,6 +178,7 @@ impl<A:ToStr> ToStr for @[A] {
179178
mod tests {
180179
use hashmap::HashMap;
181180
use hashmap::HashSet;
181+
use container::Set;
182182
#[test]
183183
fn test_simple_types() {
184184
assert!(1i.to_str() == ~"1");

0 commit comments

Comments
 (0)