about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/tests/ascii.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/tests/ascii.rs b/src/libcore/tests/ascii.rs
index dbed5920519..4d43067ad2c 100644
--- a/src/libcore/tests/ascii.rs
+++ b/src/libcore/tests/ascii.rs
@@ -8,7 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use char::from_u32;
+use core::char::from_u32;
+use std::ascii::AsciiExt;
 
 #[test]
 fn test_is_ascii() {