diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-07 18:08:21 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-10 19:04:26 -0700 |
| commit | 298eb8c7260fe321e30d9c5e22f4ecefc82c4f64 (patch) | |
| tree | ddd18bdc6c940595bd1df41cfa5d414ffa862a5d /src/libcore/uint-template.rs | |
| parent | 1a8a0a77b14c44d98501cd9fb0f14ed88d4c38d9 (diff) | |
Convert 'import' to 'use'. Remove 'import' keyword.
Diffstat (limited to 'src/libcore/uint-template.rs')
| -rw-r--r-- | src/libcore/uint-template.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index 01668edf3b6..1da46d780be 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -276,7 +276,7 @@ fn test_from_str() { #[test] #[ignore] fn test_parse_buf() { - import str::to_bytes; + use str::to_bytes; assert parse_buf(to_bytes(~"123"), 10u) == Some(123u as T); assert parse_buf(to_bytes(~"1001"), 2u) == Some(9u as T); assert parse_buf(to_bytes(~"123"), 8u) == Some(83u as T); @@ -304,7 +304,7 @@ fn to_str_radix17() { #[test] fn test_times() { - import iter::Times; + use iter::Times; let ten = 10 as T; let mut accum = 0; for ten.times { accum += 1; } |
