summary refs log tree commit diff
path: root/src/libcore/ptr.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-07 18:08:21 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-10 19:04:26 -0700
commit298eb8c7260fe321e30d9c5e22f4ecefc82c4f64 (patch)
treeddd18bdc6c940595bd1df41cfa5d414ffa862a5d /src/libcore/ptr.rs
parent1a8a0a77b14c44d98501cd9fb0f14ed88d4c38d9 (diff)
downloadrust-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.rs4
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 {