diff options
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 { |
