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/ptr.rs | |
| parent | 1a8a0a77b14c44d98501cd9fb0f14ed88d4c38d9 (diff) | |
| download | rust-298eb8c7260fe321e30d9c5e22f4ecefc82c4f64.tar.gz rust-298eb8c7260fe321e30d9c5e22f4ecefc82c4f64.zip | |
Convert 'import' to 'use'. Remove 'import' keyword.
Diffstat (limited to 'src/libcore/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 6e8a2bb3611..be3ab40dfcd 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -263,8 +263,8 @@ fn test() { #[test] fn test_position() { - import str::as_c_str; - import libc::c_char; + use str::as_c_str; + use libc::c_char; let s = ~"hello"; unsafe { |
