about summary refs log tree commit diff
path: root/src/libcore/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/str.rs')
-rw-r--r--src/libcore/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index fc8dfbc7d33..86073915f41 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -2303,7 +2303,7 @@ impl &str: StrSlice {
 #[cfg(test)]
 mod tests {
 
-    import libc::c_char;
+    use libc::c_char;
 
     #[test]
     fn test_eq() {