From 298eb8c7260fe321e30d9c5e22f4ecefc82c4f64 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 7 Sep 2012 18:08:21 -0700 Subject: Convert 'import' to 'use'. Remove 'import' keyword. --- src/libcore/ptr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore/ptr.rs') 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 { -- cgit 1.4.1-3-g733a5